From owner-freebsd-current@FreeBSD.ORG Wed Dec 10 08:16:51 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A604716A4CE for ; Wed, 10 Dec 2003 08:16:51 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.uni-dortmund.de [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09CE643D09 for ; Wed, 10 Dec 2003 08:16:50 -0800 (PST) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 7ED921675A2; Wed, 10 Dec 2003 17:16:48 +0100 (CET) Received: from kiste.my.domain (kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.9p1/8.12.9) with ESMTP id hBAGGkPv060477 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 10 Dec 2003 17:16:47 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock Organization: FreeBSD To: kientzle@acm.org Date: Wed, 10 Dec 2003 17:16:42 +0100 User-Agent: KMail/1.5.4 References: <200312071603.29573.michaelnottebrock@gmx.net> <3FD65D51.7090609@acm.org> In-Reply-To: <3FD65D51.7090609@acm.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_ub01/BvjhFm9mo4"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200312101716.46518.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new cc: current@freebsd.org Subject: Re: ldconfig / dynamic linker hints library name conventions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 16:16:51 -0000 --Boundary-02=_ub01/BvjhFm9mo4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Wednesday 10 December 2003 00:40, Tim Kientzle wrote: > Michael Nottebrock wrote: > > From the ldconfig manpage: > > > > "Filenames must conform to the lib*.so.[0-9] pattern in order to > > be added to the hints file." > > > > I wonder if there actually are any compelling reasons to keep this > > behaviour - > > Yes there are. Not all shared libraries are meant to be seen > by ldconfig. =20 This isn't very convincing. The reality looks much more like this: Many=20 software packages out there assume ldconfig and workalikes to be as liberal= =20 with regards to shared library filenames as linux' ldconfig (or NetBSD's=20 ld.elf_so) and install libraries named lib*.so.[0-9]+.[0-9]+.[0-9]+. If=20 libtool weren't as widely used as it is for building shared libraries, this= =20 would make for a bigger problem than it is now. Packages that actually do=20 install shared libraries which are exclusively dlloaded usually put those i= n=20 a location where they won't be picked up by ldconfig, like a subdirectory i= n=20 PREFIX/lib. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --Boundary-02=_ub01/BvjhFm9mo4 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/10buXhc68WspdLARAomEAJ9hSkYEJd2Jc57u7gpFxzKUsXjw5QCfeTvA yM7a1tpLW2KF4AgV9T/jv3Q= =eEGV -----END PGP SIGNATURE----- --Boundary-02=_ub01/BvjhFm9mo4--