[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 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?

Elf file type is EXEC (Executable file)
Entry point 0x804ae30
There are 6 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  PHDR           0x000034 0x08048034 0x08048034 0x000c0 0x000c0 R E 0x4
  INTERP         0x0000f4 0x080480f4 0x080480f4 0x00013 0x00013 R   0x1
      [Requesting program interpreter: /lib/ld-linux.so.2]
  LOAD           0x000000 0x08048000 0x08048000 0x1e8a7 0x1e8a7 R E 0x1000
  LOAD           0x01e8c0 0x080678c0 0x080678c0 0x01868 0x01ce0 RW  0x1000
  DYNAMIC        0x020078 0x08069078 0x08069078 0x000b0 0x000b0 RW  0x4
  NOTE           0x000108 0x08048108 0x08048108 0x00020 0x00020 R   0x4

 Section to Segment mapping:
  Segment Sections...
   00
   01     .interp
   02     .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version
.gnu.version_r .rel.got .rel.bss .rel.plt .init .plt .text .fini .rodata
   03     .data .eh_frame .ctors .dtors .got .dynamic .bss
   04     .dynamic
   05     .note.ABI-tag

Christoph

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

Attachment: pgpcqkzitYjM2.pgp
Description: PGP signature


Reply to: