Hi,

        It's well known that libtool >= 1.4 has an annoying relinking
problem that prevents most libraries to be installed in any location
other than %%libdir. This problem has haunted many packagers, and
they used various hacks to avoid it.

        Have just had a look into the libggi RPM. Though it's fix
may not be the ultimate solution, but it's still very effective,
fixing all packages that I've seen. Can the attached patch be
applied on libtool for now?

        Who's maintaining libtool?

Abel
--- libtool-1.4/ltmain.sh       Thu Sep 27 19:34:40 2001
+++ libggi-2.0.1/ltmain.sh      Sun Aug 26 23:56:45 2001
@@ -1862,6 +1862,7 @@
            else
              # We cannot seem to hardcode it, guess we'll fake it.
              add_dir="-L$libdir"
+             test -d "$ladir/.libs" && add_dir="-L$ladir/.libs $add_dir"
              add="-l$name"
            fi
 

Reply via email to