/lib/foo.so.X -> /usr/lib/foo.so
Dan Nelson
dnelson at allantgroup.com
Thu Sep 4 14:19:34 PDT 2003
In the last episode (Sep 04), David O'Brien said:
> On Thu, Sep 04, 2003 at 11:27:15PM +0300, Ruslan Ermilov wrote:
> > On Thu, Sep 04, 2003 at 09:58:39PM +0300, Ruslan Ermilov wrote:
> > [...]
> > > The patch is not a problem (attached). I've been looking at how
> > > our friends do this. NetBSD has symlinks in /usr/lib to /lib,
> > > both to .so and .so.X, and their cc(1) and ld(1) don't look
> > > things in /lib. Linux looks things up in both /lib and /usr/lib,
> > > and does not have symlinks from /usr/lib to /lib.
> > >
> > There is a sad typo above: Linux *does* have symlinks from /usr/lib
> > to /lib, so both use /usr/lib for linking.
>
> What version of Linux are you using? SuSE Enterprise Linux 8, and
> Red Hat Enterprise Linux 3 both do not have symlinks for libs from
> /usr/lib to /lib. They use a different machanism:
I haven't updated in a while, but my Debian unstable box has ..
$ find /usr/lib/*.so -type l -ls | grep "> /lib" | wc -l
24
.. symlinks back to /lib.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-current
mailing list