Clinton Roy <[EMAIL PROTECTED]> writes: >> What happens if you move /usr/lib/libxml2* out of the way first? Does >> it then find /dstc/lib/libxml2.la. If so, looks like a libtool bug. > > This is indeed what happens :| I'll spend what time i can tracking it > down over the next few weeks (my current deadline is then, so.. ;)
I've been able to isolate it a little, If LIBS is set to: "-L/dstc/lib -lxml2 -lz -lpthread -lm" dependency_libs is properly set to: ' -L/dstc/lib /dstc/lib/libxml2.la -lz -lpthread -lm' However, if I add -lgdb to LIBS: "-lgdbm -L/dstc/lib -lxml2 -lz -lpthread -lm" dependency_libs gets incorrectly set to: ' /usr/lib/libgdbm.la -L/dstc/lib /usr/lib/libxml2.la -lz -lpthread -lm' Now, /usr/lib/libgdbm.la doesn't depend on libxml2, so that would still seem to be a bug. Fortunately for me however I can work without libgdbm. I'm still keen to fix this bug, but it's no longer urgent for me. cheers, -- Clinton Roy Elvin Software Engineer - elvin.dstc.edu.au Humbug Vice president - www.humbug.org.au _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool