[lfs-support] ln -sv ../usr/bin/cpp /lib
delgarde at ihug.co.nz
Wed Mar 21 01:07:28 PDT 2012
On Tue, 2012-03-20 at 16:50 +0200, Alexander Kapshuk wrote:
> So in other words, 'ln -sv ../usr/bin/cpp /lib' and 'ln
> -sv /usr/bin/cpp /lib' are equivalent?
Not quite, and the difference can be seen when you look at the link
*outside* the chroot environment (i.e where the filesystem is mounted
The /lib directory becomes /mnt/lfs/lib, and so the first link now
expands to /mnt/lfs/usr/bin/cpp. However, the second link is an absolute
path, and so still points to /usr/bin/cpp - not to the file it was
intended to point at.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the lfs-support