Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2006 17:16:43 +0100
From:      "mal content" <artifact.one@googlemail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: ldconfig "skipping" libraries (6.1-R)
Message-ID:  <8e96a0b90609080916q1f4d8394w2cdbf18999ad286a@mail.gmail.com>
In-Reply-To: <20060906192028.GA21278@xor.obsecurity.org>
References:  <Pine.LNX.4.62.0609061902410.16519@pop.ict1.everquick.net> <20060906192028.GA21278@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/09/06, Kris Kennaway <kris@obsecurity.org> wrote:
> On Wed, Sep 06, 2006 at 07:18:18PM +0000, Edward B. DREGER wrote:
> > Greetings all,
> >
> >
> > I'd been going nuts trying to determine why I couldn't link against
> > "libdb-4.4.so" and a few other libraries.  The ones in question didn't
> > show up via
> >
> >       ldconfig -r
> >
> > although their respective directories _were_ found.  (Yes, I even ran
> > "ldconfig -R" for good measure.)  ldconfig seems to "skip" libraries not
> > of the form
> >
> >       m/.+\.so\.[0-9]+/
> >
> > i.e.,
> >
> >       libfoo.so.1
> >
> > is found, but
> >
> >       libbar.so
> >       libsnuzzlycat.so.5.5
> >
> > are not.
> >
> > Bug or feature?
>
> Feature.
>
> > Is this what I get for straying from ports/packages?
> > ;-)
>
> Probably.
>

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 you sure this format isn't legal?

MC



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