Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2003 23:11:12 -0700
From:      Gordon Tetlow <gordont@gnf.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: /lib symlinks problem?
Message-ID:  <20030902061112.GY695@roark.gnf.org>
In-Reply-To: <20030831145224.GC28845@sunbay.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>

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

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

On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote:
>=20
> Now it looks like this:
>=20
> install -C -o root -g wheel -m 444   libalias.a /foo/usr/lib
> install -s -o root -g wheel -m 444     libalias.so.4 /foo/lib
> ln -fs libalias.so.4 /foo/lib/libalias.so
> ln -fs /lib/libalias.so.4  /foo/usr/lib/libalias.so
>=20
> This is also consistent with how we handle SYMLINKS:
>=20
> # make -f bsd.prog.mk BINDIR=3D/bin SYMLINKS=3D'${BINDIR}/file1 ${BINDIR}=
/file2' install DESTDIR=3D/foo
> /foo/bin/file2 -> /bin/file1
> # ls -l /foo/bin
> total 0
> lrwxr-xr-x  1 root  wheel  10 Aug 31 17:44 file2 -> /bin/file1

This *really* breaks the build-tools part, which is why I made it
a relative symlink in the first place.

-gordon

--6pjpgtPchv3bUQQn
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE/VDSARu2t9DV9ZfsRAoKVAJ0TgBUJPZKL2eJoyf5DSSCEjQQg+gCfX+/D
JPwbqGeYGobkwlsDdrAc2aA=
=/YxM
-----END PGP SIGNATURE-----

--6pjpgtPchv3bUQQn--



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