I'm not sure if I'm subscribed,
so treat it as if I'm not (CC me).

Linux (x86), libtool 2.2.6b, autoconf 2.64, automake 1.11

I was playing with ghex2 sources.
After 'autoreconf -fi;./configure', I've noticed
a small problem with the wrapper script generated for the executable.
One of generated blocks was:

# Add our own library path to LD_LIBRARY_PATH
LD_LIBRARY_PATH="/usr/lib/:<top_builddir>/src/.libs:$LD_LIBRARY_PATH"

However, that created a problem, as ghex2 was already installed
on the system, so executable was using system copy of its lib,
instead of the one just built.

To get around this, I've modified a line in ltmain.sh from:
*) temp_rpath="$temp_rpath$absdir:"
to
*) temp_rpath="$absdir:$temp_rpath"
but I wonder why it wasn't working properly in the first place.



_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to