Re: /lib/foo.so.X -> /usr/lib/foo.so

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Thu, 4 Sep 2003 16:19:29 -0500
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
Received on Thu Sep 04 2003 - 12:19:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC