When libtool encouters an error about a missing library (for example, if a .la refers to a file which is not found), it would be good to give more explicit errors.
In my case, it was a problem of nested dependencies; the error was not due to $lib (the dependency of the dependency) but too $name (the dependency) which had been compiled when $lib was in another directory; so the solution was to rebuild $name not $lib.
Here is a patch giving a message with $name and $laname:
--- /usr/bin/libtool 2004-02-11 10:35:02.000000000 +0100
+++ libtool 2004-07-14 17:18:53.992827152 +0200
@@ -1838,6 +1838,7 @@
if test "$found" = yes || test -f "$lib"; then :
else
$echo "$modename: cannot find the library \`$lib'" 1>&2
+ $echo "It was referenced from library \`$name' 's libtool archive, \`$laname'" 1>&2
exit 1
fi




_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to