bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: remove /usr/local/lib from rpath


From: Scott Lambdin
Subject: Re: remove /usr/local/lib from rpath
Date: Tue, 10 Jun 2008 14:05:18 -0400

With LD_LIBRARY_PATH="", --disable-rpath does what I would expect it to do.
There is no rpath at all in the shared lib.


$ dump -Lvp gettext-runtime/intl/.libs/libintl.so.8.0.2

gettext-runtime/intl/.libs/libintl.so.8.0.2:
[1]     NEEDED          libc.so.1
[2]     NEEDED          libgcc_s.so.1
[3]     INIT            0x1e24
[4]     FINI            0x1e40
[5]     SONAME          libintl.so.8
[6]     HASH            0x94
[7]     STRTAB          0xc5c
[8]     STRSZ           0x78b
[9]     SYMTAB          0x48c
[10]    SYMENT          0x10
[11]    CHECKSUM        0x49dc
[12]    VERNEED         0x13e8
[13]    VERNEEDNUM      0x2
[14]    PLTSZ           0x450
[15]    PLTREL          0x7
[16]    JMPREL          0x19d4
[17]    RELA            0x1428
[18]    RELASZ          0x9fc
[19]    RELAENT         0xc
[20]    FEATURE_1       PARINIT
[21]    FLAGS           0
[22]    FLAGS_1         0
[23]    PLTGOT          0x17fec
$ <address@hidden> dump -Lvp gettext-tools/intl/.libs/libintl.so.8.0.2

gettext-tools/intl/.libs/libintl.so.8.0.2:
[1]     NEEDED          libc.so.1
[2]     NEEDED          libgcc_s.so.1
[3]     INIT            0x1e2c
[4]     FINI            0x1e48
[5]     SONAME          libintl.so.8
[6]     HASH            0x94
[7]     STRTAB          0xc5c
[8]     STRSZ           0x793
[9]     SYMTAB          0x48c
[10]    SYMENT          0x10
[11]    CHECKSUM        0x4c92
[12]    VERNEED         0x13f0
[13]    VERNEEDNUM      0x2
[14]    PLTSZ           0x450
[15]    PLTREL          0x7
[16]    JMPREL          0x19dc
[17]    RELA            0x1430
[18]    RELASZ          0x9fc
[19]    RELAENT         0xc
[20]    FEATURE_1       PARINIT
[21]    FLAGS           0
[22]    FLAGS_1         0
[23]    PLTGOT          0x1800c



On 6/10/08, Bruno Haible <address@hidden> wrote:
>
> Scott Lambdin wrote:
> > ./configure --disable-rpath --prefix=/edi
> >
> > but still:
> >
> > [7]     RUNPATH         /usr/local/lib:/edi/lib
> > [8]     RPATH           /usr/local/lib:/edi/lib
>
> Hmm. I'm as surprised as you are.
>
> Which OS is this? There are systems which always encode the rpath.
> Can you show the (long) libtool commands which created libgettextlib.so,
> libgettextsrc.so, and msgfmt? This might give a hint where the rpath comes
> from.
>
> Bruno
>
>


-- 
CILCIL


reply via email to

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