On Sun, Jan 16, 2005 at 01:31:59PM -0800, Bruce Korb wrote:
> >         libopts.so.9 => /local/lib/libopts.so.9 (0x40018000)

`/usr' symlinks to `/' (or `.')?

> ** OOPS ** this is the _installed_ libopts, not the one I just built!!!
> Setting LD_LIBRARY_PATH to include /home/bkorb/ag/ag/autoopts/.libs
> gets around the problem, but that should not be necessary....

That's `fast install' at work; by default, libtool points DT_RPATH to the
installation directory.  That way, users need not relink at install time.

Either way, `libtool --mode=execute' does the right thing to run your program
with the uninstalled libraries.

You can disable fast install for one build with --disable-fast-install or by
default with AC_DISABLE_FAST_INSTALL.

See `info libtool --index fast_install' for more discussion.


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

Reply via email to