Re: LFS 12.3 -- Installing glibc-2.41

"Nick Henry" ([email protected] via lfs-support Mailing List) <[email protected]> Thu, 26 Jun 2025 17:54:40 +0000
Newsgroups gmane.linux.lfs.support
Message-ID <CAEO7+baPUGjKjY6e3HhOJCJMP8p1DUMWonV8ULRwG2Xn90qOZQ@mail.gmail.com>
As an addition to this I noticed version 10.0 of lfs chapter 5.5 configures
glibc with 'libc_cv_slibdir=/lib' but in version 11 this changes to
'libc_cv_slibdir=/usr/lib'. The above command stays the same across the two
versions. So maybe this is a mistake?

On Thu, Jun 26, 2025 at 5:43 PM Nick Henry <[email protected]> wrote:

> 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