bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libtool 2.2.6] linking -static with uninstalled shared library gene


From: Stanislav Brabec
Subject: Re: [libtool 2.2.6] linking -static with uninstalled shared library generates invalid rpath
Date: Wed, 04 Nov 2009 19:38:34 +0100

Bob Friesenhahn wrote:
> On Wed, 4 Nov 2009, Stanislav Brabec wrote:
> 
> > When linking a binary which contains -static in its LDFLAGS and the
> > library is linked against an uninstalled library which does not contain
> > -static in its LDFLAGS and configure was called with --disable-static,
> > libtool generates invalid command line that embeds RPATH to the
> > uninstalled shared library location.

> Is this true after the library/program has been installed with libtool 
> using --mode=finish?

Yes:

sbrabec:~/libinvalid/DESTDIR/usr/local/bin> scanelf -r hallolib
 TYPE   RPATH FILE
ET_EXEC /home/sbrabec/libinvalid/libhallo/.libs hallolib

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: address@hidden
Lihovarská 1060/12           tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                                    http://www.suse.cz/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]