From d125a6bd0b28c20b3a26143028591bd847aa20ed Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Mon, 15 Jun 2020 05:23:47 +0000 Subject: Add forgotten "case" in glibc chapter 5 git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11942 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/glibc.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'chapter05') diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 1b72b4e20..0888427df 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -43,11 +43,17 @@ Installation of Glibc - First, create two symbolic links, which are needed for proper + First, create a symbolic link for LSB compliance. Additionally, + for x86_64, create a compatibility symbolic link required for proper operation of the dynamic library loader: -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 +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 Some of the Glibc programs use the non-FHS compliant /var/db directory to store their -- cgit v1.2.3-54-g00ecf