LFS 12.3 -- Installing glibc-2.41
"Nick Henry" ([email protected] via lfs-support Mailing List) <[email protected]> Thu, 26 Jun 2025 17:43:50 +0000
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <CAEO7+bYEWkm6KicwJ9MGjQm2jFGyTv3wzbsTss_-tWX0ZXhB0w@mail.gmail.com> |
Hello all,
I am currently building version 12.3 of LFS and ran into some confusion. In
chapter 5.5 for installing glibc the following instruction is given:
case $(uname -m) in
i?86) ln -sfv ld-linux.so.2 $LFS/lib/ld-lsb.so.3
;;
x86_64) ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64
ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3
;;
esac
However after building and installing glibc 'ld-linux-x86-64.so.2' is
installed into '$LFS/usr/lib' not '$LFS/lib'. So the symlink created by the
above command is broken. At no point is 'ld-linux-x86-64.so.2' installed or
linked into '/lib'. I can easily fix this issue a few different ways,
however I am uncertain whether it is a mistake on my part or the book. I am
assuming I am mistaken and therefore asking the question on the mailing
list. How does 'ld-linux-x86-64.so.2' get into '/lib' for this symlink to
work? Is the symlink supposed to dangle?
Best.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page