Re: LFS 12.3 -- Installing glibc-2.41

"Pierre Labastie" ([email protected] via lfs-support Mailing List) <[email protected]> Thu, 26 Jun 2025 20:53:38 +0200
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
On Thu, 2025-06-26 at 17:43 +0000, Nick Henry 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? 

There is no error in the commands: /lib is linked to /usr/lib in
chapter 4...

Pierre

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page