Re: /lib symlinks problem?

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Sun, 31 Aug 2003 14:07:42 +0200
On Sat, 30 Aug 2003 21:56:53 +0300
Ruslan Ermilov <ru_at_FreeBSD.org> wrote:

> > I think a workaround would be to use absolute symlinks (at least as an
> > option).
> > 
> 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:
> 
> $ make -n install -DNOMAN DESTDIR=/foo
> 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 /foo/lib/libalias.so.4  /foo/usr/lib/libalias.so

Don't you have to remove the first ${DESTDIR} to make this work in the
"put a harddisk into a running system and install a system via
installworld  & distribute" case?

Bye,
Alexander.

-- 
            Give a man a fish and you feed him for a day;
     teach him to use the Net and he won't bother you for weeks.

http://www.Leidinger.net                       Alexander _at_ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
Received on Sun Aug 31 2003 - 03:06:19 UTC

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