[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why am I linking to an installed library?
From: |
Ralf Wildenhues |
Subject: |
Re: Why am I linking to an installed library? |
Date: |
Tue, 13 Sep 2005 13:33:55 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Bruce,
* Bruce Korb wrote on Mon, Sep 12, 2005 at 02:59:32PM CEST:
>
> > > When I rebuild autogen, .libs/lt-autogen winds up pulling
> > > /usr/lib/libopts.so.25.0.1 despite the fact the current
> > > project has a .libs/libopts.so.25.1.0 version. So, here's
> > > the stuff from the Makefiles:
> > $ libtool --version
> > ltmain.sh (GNU libtool) 1.5.18 (1.1220.2.245 2005/05/16 08:55:27)
Try again with 1.5.20, your issue should be fixed there, I believe. The
fix for absolute entries in temp_rpath went in after 1.5.18 is released.
> Extract from the build log:
> > /bin/sh ../libtool --tag=CC --mode=link gcc -g -o autogen \
> > -export-dynamic autogen-ag.o ../autoopts/libopts.la -lguile \
> > -lguile-ltdl -lqthreads -lpthread -lcrypt -lm -lm -ldl
> > mkdir .libs
> > gcc -g -o .libs/autogen autogen-ag.o -Wl,--export-dynamic \
> > ../autoopts/.libs/libopts.so /usr/lib/libguile.so \
> > /usr/lib/libguile-ltdl.so /usr/lib/libqthreads.so \
> > -lpthread -lcrypt -lm -ldl -Wl,--rpath -Wl,/usr/local/lib
> > creating autogen
>
> And the "--debug" output. It should make no difference, but
> the autogen RPM is not installed at this point, so it is working
> correctly. There is a _lot_ of output.
*snip*
You may pack (bzip2, gzip) the next time. :)
Cheers,
Ralf