Date: Thu, 4 Sep 2003 16:19:29 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: "David O'Brien" <obrien@FreeBSD.org>, Ruslan Ermilov <ru@FreeBSD.org>, Gordon Tetlow <gordont@gnf.org>, Peter Wemm <peter@FreeBSD.org>, current@FreeBSD.org Subject: Re: /lib/foo.so.X -> /usr/lib/foo.so Message-ID: <20030904211929.GA39916@dan.emsphone.com> In-Reply-To: <20030904211050.GA3035@dragon.nuxi.com> References: <200309040429.h844TBhD058678@repoman.freebsd.org> <20030904083617.GA56261@dragon.nuxi.com> <20030904092755.GD45051@sunbay.com> <20030904140129.GA61909@dragon.nuxi.com> <20030904155659.GC97732@sunbay.com> <20030904162656.GA396@dragon.nuxi.com> <20030904174100.GY695@roark.gnf.org> <20030904185839.GB4481@sunbay.com> <20030904202715.GD4481@sunbay.com> <20030904211050.GA3035@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030904211929.GA39916>