/lib symlinks problem?

Gordon Tetlow gordont at gnf.org
Mon Sep 1 23:11:17 PDT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030901/f0a8f164/attachment.bin


More information about the freebsd-current mailing list