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
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool