libtool
[Top][All Lists]
Advanced

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

too little information provided by libtool


From: Arkadiusz Miskiewicz
Subject: too little information provided by libtool
Date: 10 Apr 2002 13:09:12 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi,

I have broken /usr/lib/libapr.la:
# The name that we can dlopen(3).
dlname='libapr.so.0'

# Names of this library.
library_names='libapr.so.0.0.0 libapr.so.0 libapr.so'

# The name of the static archive.
old_library='libapr.a'

# Libraries that this one depends upon.
dependency_libs=' -pthread'

It should be dependency_libs=' -lpthread'. Anyway in such case libtool
tells me:
libtool: link: cannot find the library `'

Nice message :-)

It will be nice to get more verbose message. For now I've changed:

--- /usr/bin/libtool    Wed Apr 10 10:46:26 2002
+++ libtool     Wed Apr 10 13:06:50 2002
@@ -1800,7 +1800,7 @@
        esac # case $deplib
        if test $found = yes || test -f "$lib"; then :
        else
-         $echo "$modename: cannot find the library \`$lib'" 1>&2
+         $echo "$modename: cannot find the library \`$lib' (lib${name}.la: 
$deplib)" 1>&2
          exit 1
        fi

but problably it's wrong (I don't know nothing about libtool internals).
Now it tells me exactly what's wrong:
libtool: link: cannot find the library `' (libapr.la: -pthread)

-- 
Arkadiusz Miƛkiewicz   IPv6 ready PLD Linux at http://www.pld.org.pl
misiek(at)pld.org.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PWr




reply via email to

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