Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2006 13:42:21 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        mal content <artifact.one@googlemail.com>
Cc:        freebsd-hackers@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: ldconfig "skipping" libraries (6.1-R)
Message-ID:  <20060908174221.GA27675@xor.obsecurity.org>
In-Reply-To: <8e96a0b90609081037v6325309ge48528a617c44efa@mail.gmail.com>
References:  <Pine.LNX.4.62.0609061902410.16519@pop.ict1.everquick.net> <20060906192028.GA21278@xor.obsecurity.org> <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com> <20060908172817.GA27387@xor.obsecurity.org> <8e96a0b90609081037v6325309ge48528a617c44efa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <kris@obsecurity.org> 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/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060908174221.GA27675>