On Sat, Oct 07, 2006 at 01:56:21AM +0200, Carlo Wood wrote:
> > For libcwd to work, you really want it to be the first library in the
> > list, before any other, so even before libltdlc.la.  This should make
> > sure that the dynamic linker will use your functions.
> 
> That is nonsense! When both libraries depend on third, then the
> third has to be specified last by libtool.

libcwd is already linked to -ldl, and it doesn't need to be linked to it
again.  The only thing that has a dependency on -ldl that libtool should
care about at this point is libltdlc.la.

You want your -lcwd to be the first dynamic library that's linked
against, so you should put it first on your command line.  That
libltdlc.la happens to be a static library in this case just made it
work for you.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to