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

Bug#231426: libc6: won't find libraries linked with -R




Daniel Jacobowitz schrieb:
> On Fri, Feb 06, 2004 at 05:39:17PM +0100, Christoph Martin wrote:
> 
>>
>>Daniel Jacobowitz schrieb:
>>
>>>On Fri, Feb 06, 2004 at 03:41:38PM +0100, Christoph Martin wrote:
>>>
>>>
>>>>Package: libc6
>>>>Version: 2.3.2.ds1-11
>>>>Severity: important
>>>>
>>>>I am using Sophos for Linux which is linked against it's own library
>>>>in /usr/local/Sophos/lib apparently with -R. libc6 Version
>>>>2.3.2.ds1-10 would run the binary without a problem:
>>>>
>>>>ldd /usr/local/Sophos/bin/sweep
>>>>       libsavi.so.3 => /usr/local/Sophos/lib/libsavi.so.3 (0x4001f000)
>>>>       libc.so.6 => /lib/libc.so.6 (0x4016f000)
>>>>       libpthread.so.0 => /lib/libpthread.so.0 (0x402a1000)
>>>>       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>>>>
>>>>After updating to Version -11. libsavi.so.3 would not be found anymore:
>>>>
>>>>ldd /usr/local/Sophos/bin/sweep
>>>>       libsavi.so.3 => not found
>>>>       libc.so.6 => /lib/libc.so.6 (0x4001c000)
>>>>       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>>>
>>>
>>>Output of readelf -l bin/sweep, please?
>>> 
> Thanks.  Unfortunately, I have realized that I actually wanted "readelf
> -d" ....
> 

Dynamic segment at offset 0x20078 contains 22 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libsavi.so.3]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000f (RPATH)                      Library rpath: [/usr/local/lib]
 0x0000000c (INIT)                       0x804a908
 0x0000000d (FINI)                       0x8060d60
 0x00000004 (HASH)                       0x8048128
 0x00000005 (STRTAB)                     0x804977c
 0x00000006 (SYMTAB)                     0x804881c
 0x0000000a (STRSZ)                      3204 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000015 (DEBUG)                      0x0
 0x00000003 (PLTGOT)                     0x8068f28
 0x00000002 (PLTRELSZ)                   640 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x804a688
 0x00000011 (REL)                        0x804a668
 0x00000012 (RELSZ)                      32 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffe (VERNEED)                    0x804a618
 0x6fffffff (VERNEEDNUM)                 1
 0x6ffffff0 (VERSYM)                     0x804a42a
 0x00000000 (NULL)                       0x0

Christoph

-- 
============================================================================
Christoph Martin, EDV der Verwaltung, Uni-Mainz, Germany
 Internet-Mail:  Christoph.Martin@Uni-Mainz.DE
  Telefon: +49-6131-3926337

Attachment: pgpHRIcw6DF7U.pgp
Description: PGP signature


Reply to: