[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool 1.4.2

From: Jens Thiele
Subject: libtool 1.4.2
Date: Thu, 11 Jul 2002 21:26:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020529

libtool bug ?
if you specify -L the linker should prefer libraries in this location

mkdir /tmp/myownlibs;cp /usr/libz.* /tmp/myownlibs
gcc -v -L/tmp/myownlibs -lz
will try to link with /tmp/myownlibs/libz.so

=> libtool should do the same
and will do the same as long as there is no corresponding .la
but if there is a .la it will prefer libraries in system default paths
(f.e. /usr/lib)

example of the bug:

cp /usr/lib/libxml.* /tmp/myownlibs
libtool -n --mode=link gcc -L/tmp/myownlibs -lxml -o foo
gcc -o foo  -L/tmp/myownlibs /usr/lib/libxml.so -lz
I also do not understand why libtool replaces -lxml ?


Attachment: config
Description: application/java-vm

reply via email to

[Prev in Thread] Current Thread [Next in Thread]