ldconfig "skipping" libraries (6.1-R)
mal content
artifact.one at googlemail.com
Fri Sep 8 09:16:45 PDT 2006
On 06/09/06, Kris Kennaway <kris at 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
More information about the freebsd-hackers
mailing list