Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2003 09:44:24 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        "David O'Brien" <obrien@FreeBSD.org>, Alexander Leidinger <Alexander@Leidinger.net>, Gordon Tetlow <gordon@FreeBSD.org>, Christoph Kukulies <kuku@physik.rwth-aachen.de>, current@FreeBSD.org, Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: /lib symlinks problem?
Message-ID:  <20030901064424.GA30277@sunbay.com>
In-Reply-To: <20030901051049.GB91933@dragon.nuxi.com>
References:  <200308291454.h7TEsb913915@accms33.physik.rwth-aachen.de> <20030829172348.1aa0b5d4.Alexander@Leidinger.net> <20030829161907.GA89129@troutmask.apl.washington.edu> <20030830135427.0cea7fdb.Alexander@Leidinger.net> <20030830185653.GA10674@sunbay.com> <20030831140742.3bd1b597.Alexander@Leidinger.net> <20030831145224.GC28845@sunbay.com> <20030901051049.GB91933@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 31, 2003 at 10:10:49PM -0700, David O'Brien wrote:
> On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote:
> > > > I might be missing an obvious, but I just don't see a reason
> > > > why we should use relative linking here: we should just link
> > > > to where we really install.  With the attached patch, I get:
> ...
> > +.if ${LIBDIR} !=3D ${SHLIBDIR}
> > +	ln -fs ${SHLIBDIR}/${SHLIB_NAME} ${DESTDIR}${LIBDIR}/${SHLIB_LINK}
>=20
> Why are we making *any* symlinks here??
>=20
: revision 1.150
: date: 2003/08/17 23:56:29;  author: gordon;  state: Exp;  lines: +2 -3
: When creating .so symlinks, use SHLIBDIR instead of LIBDIR so symlinks
: are created in the correct location. Always make them. For libraries
: that live in /lib, this causes a /lib/libfoo.so and a compatibility
: /usr/lib/libfoo.so to be created. We may want to drop the
: /usr/lib/libfoo.so symlink at some future point.

I think that Gordon took a safe path with creating compatibility symlinks.
Besides, creating compatibility symlinks has a nicety of removing your
stale symlinks in /usr/lib.


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software Ltd,
ru@FreeBSD.org		FreeBSD committer

--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/UurHUkv4P6juNwoRAqCNAJ9M+rxTTVCEgwPkFTA4PqUDa18fRQCfYdOH
Rg+mxUjrEN7Wgq47P7CGt3U=
=Bm/d
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--



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