/lib symlinks problem?
Alexander Leidinger
Alexander at Leidinger.net
Sun Aug 31 05:06:19 PDT 2003
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 @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
More information about the freebsd-current
mailing list