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

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



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)

If I make a Link to /usr/lib it is working again:

ln -s /usr/local/Sophos/lib/libsavi.so.3 /usr/lib/
ldd /usr/local/Sophos/bin/sweep
        libsavi.so.3 => /usr/lib/libsavi.so.3 (0x4001c000)
        libc.so.6 => /lib/libc.so.6 (0x4016c000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4029f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

When linked with -R, libraries in other paths should not be used.

Perhaps the severity of the bugreport should be higher. 

Christoph

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux mbww-www.zdv.Uni-Mainz.DE 2.4.20 #1 SMP Thu Jul 17 10:26:40 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl




Reply to: