Re: /lib symlinks problem?

From: Gordon Tetlow <gordont_at_gnf.org>
Date: Mon, 1 Sep 2003 23:11:12 -0700
On Sun, Aug 31, 2003 at 05:52:24PM +0300, Ruslan Ermilov wrote:
> 
> Now it looks like this:
> 
> 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
> 
> This is also consistent with how we handle SYMLINKS:
> 
> # make -f bsd.prog.mk BINDIR=/bin SYMLINKS='${BINDIR}/file1 ${BINDIR}/file2' install DESTDIR=/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

Received on Mon Sep 01 2003 - 21:11:17 UTC

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