From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 8 17:42:25 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6874E16A4DA for ; Fri, 8 Sep 2006 17:42:25 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0F4643D77 for ; Fri, 8 Sep 2006 17:42:24 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 19A6A1A3C1C; Fri, 8 Sep 2006 10:42:24 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F32F5514F6; Fri, 8 Sep 2006 13:42:21 -0400 (EDT) Date: Fri, 8 Sep 2006 13:42:21 -0400 From: Kris Kennaway To: mal content Message-ID: <20060908174221.GA27675@xor.obsecurity.org> References: <20060906192028.GA21278@xor.obsecurity.org> <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com> <20060908172817.GA27387@xor.obsecurity.org> <8e96a0b90609081037v6325309ge48528a617c44efa@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <8e96a0b90609081037v6325309ge48528a617c44efa@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-hackers@freebsd.org, Kris Kennaway Subject: Re: ldconfig "skipping" libraries (6.1-R) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 17:42:25 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 08, 2006 at 06:37:13PM +0100, mal content wrote: > On 08/09/06, Kris Kennaway wrote: > >On Fri, Sep 08, 2006 at 05:16:43PM +0100, mal content wrote: > > > >> Some ports do seem to use this format: > >> > >> $ ls /usr/local/lib | egrep '^lib.*\.so\..*\.' > >> libopenal.so.0.0.8 > >> libportaudio.so.0.0.18 > >> $ ls /usr/X11R6/lib | egrep '^lib.*\.so\..*\.' > >> libqt-mt.so.3.3 > >> libqt-mt.so.3.3.5 > >> libqui.so.1.0 > >> libqui.so.1.0.0 > > > >Are they symlinks, or actual libraries? I bet the former. >=20 > In this particular case: >=20 > libqt-mt.so.3.3 -> libqt-mt.so.3.3.5 > libqui.so.1.0 -> libqui.so.1.0.0 >=20 > Both libqt-mt.so.3.3.5 and libqui.so.1.0.0 are real libraries, > as are libopenal.so.0.0.8 and libportaudio.so.0.0.18. >=20 > > > >> Are you sure this format isn't legal? > > > >Quite :) If any ports are installing it, that's a bug too. > > >=20 > Should I send a PR? I don't see the libopenal file you claim: > ls -l /usr/local/lib/libopenal* -rw-r--r-- 1 root wheel 369960 Aug 31 14:14 /usr/local/lib/libopenal.a -rwxr-xr-x 1 root wheel 831 Aug 31 14:14 /usr/local/lib/libopenal.la lrwxr-xr-x 1 root wheel 14 Aug 31 14:14 /usr/local/lib/libopenal.so = -> libopenal.so.0 -rwxr-xr-x 1 root wheel 292656 Aug 31 14:14 /usr/local/lib/libopenal.so.0 And the other is also OK because: > ls -l /usr/local/lib/libportau* -rw-r--r-- 1 root wheel 26328 Oct 11 2005 /usr/local/lib/libportaudio.a lrwxr-xr-x 1 root wheel 22 Oct 11 2005 /usr/local/lib/libportaudio.s= o -> libportaudio.so.0.0.18 lrwxr-xr-x 1 root wheel 15 Oct 11 2005 /usr/local/lib/libportaudio.s= o.0 -> libportaudio.so -rw-r--r-- 1 root wheel 28236 Oct 11 2005 /usr/local/lib/libportaudio.s= o.0.0.18 i.e. the .so.0 points to the valid library. Kris --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFAat9Wry0BWjoQKURAiFeAJ4vnLv5QGswYivejQMV4KHfkpTYmgCfdhYl jJi2F3rqGK3mvtARTzQhwk4= =sRkL -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--