Date: Sun, 31 Aug 2003 14:07:42 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: Steve Kargl <sgk@troutmask.apl.washington.edu> Subject: Re: /lib symlinks problem? Message-ID: <20030831140742.3bd1b597.Alexander@Leidinger.net> In-Reply-To: <20030830185653.GA10674@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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 30 Aug 2003 21:56:53 +0300
Ruslan Ermilov <ru@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 @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030831140742.3bd1b597.Alexander>
