Your message dated Fri, 13 Feb 2004 16:19:35 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#231426: libc6: won't find libraries linked with -R
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Feb 2004 14:42:24 +0000
>From [EMAIL PROTECTED] Fri Feb 06 06:42:24 2004
Return-path: <[EMAIL PROTECTED]>
Received: from mbww-www.zdv.uni-mainz.de [134.93.144.218] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Ap7BY-0002y6-00; Fri, 06 Feb 2004 06:42:24 -0800
Received: from mbww-www.zdv.Uni-Mainz.DE (localhost [127.0.0.1])
        by mbww-www.zdv.Uni-Mainz.DE (8.12.3/8.12.3/Debian-6.6) with ESMTP id 
i16Efcmg028859
        (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL);
        Fri, 6 Feb 2004 15:41:39 +0100
Received: (from [EMAIL PROTECTED])
        by mbww-www.zdv.Uni-Mainz.DE (8.12.3/8.12.3/Debian-6.6) id i16Efc4w028857;
        Fri, 6 Feb 2004 15:41:38 +0100
Message-Id: <[EMAIL PROTECTED]>
From: Christoph Martin <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: libc6: won't find libraries linked with -R
X-Mailer: reportbug 1.50
Date: Fri, 06 Feb 2004 15:41:38 +0100
X-Scanned-By: MIMEDefang 2.38
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.0 required=4.0 tests=DATING,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 

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


---------------------------------------
Received: (at 231426-done) by bugs.debian.org; 13 Feb 2004 15:19:46 +0000
>From [EMAIL PROTECTED] Fri Feb 13 07:19:46 2004
Return-path: <[EMAIL PROTECTED]>
Received: from sky.verwaltung.uni-mainz.de [134.93.144.163] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Arf6Y-0007PY-00; Fri, 13 Feb 2004 07:19:46 -0800
Received: from charlie.verwaltung.uni-mainz.de (charlie.verwaltung.uni-mainz.de 
[134.93.226.11])
        by sky.verwaltung.uni-mainz.de (8.12.3/8.12.3/Debian-6.6) with ESMTP id 
i1DFJhoS006485
        (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL);
        Fri, 13 Feb 2004 16:19:44 +0100
Received: from uni-mainz.de ([EMAIL PROTECTED] [134.93.226.8])
        by charlie.verwaltung.uni-mainz.de (8.12.3/8.12.3/Debian-6.6) with ESMTP id 
i1DFJZHp020526
        (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO);
        Fri, 13 Feb 2004 16:19:36 +0100
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 13 Feb 2004 16:19:35 +0100
From: Christoph Martin <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.5) Gecko/20031115 
Debian/1.5-3.he-1
X-Accept-Language: en
MIME-Version: 1.0
To: Daniel Jacobowitz <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: Bug#231426: libc6: won't find libraries linked with -R
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL 
PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
X-Enigmail-Version: 0.76.8.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enig81D7961A926EF3D1C402F070"
X-Scanned-By: MIMEDefang 2.38
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_12 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
        version=2.60-bugs.debian.org_2004_02_12
X-Spam-Level: 

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig81D7961A926EF3D1C402F070
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I think the mystery is solved ;-}

Daniel Jacobowitz schrieb:

> Well, that's your problem then.  The RPATH says /usr/local/lib.  Are
> you sure nothing else changed in your environment between these two
> runs - LD_LIBRARY_PATH, the binary itself, /etc/ld.so.conf?  There's no
> way that a binary with only that RPATH will look in
> /usr/local/Sophos/lib.

The install script of sophos calls

        ldconfig /usr/local/Sophos/lib

at the end. So the library will be found until the next ldconfig which
happened with the upgrade of libc6 on my system.

So we can close this bugreport.

Christoph

-- 
============================================================================
Christoph Martin, EDV der Verwaltung, Uni-Mainz, Germany
 Internet-Mail:  [EMAIL PROTECTED]
  Telefon: +49-6131-3926337
      Fax: +49-6131-3922856

--------------enig81D7961A926EF3D1C402F070
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFALOsHgeVih7XOVJcRAh2hAJ4tYsVT9gSaBkTw2x3vMEvltNxN+gCfYAJn
YLYOUj6IS1LvX1yZdsdagtE=
=CWzY
-----END PGP SIGNATURE-----

--------------enig81D7961A926EF3D1C402F070--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to