Author: pierre Date: Sun Jun 14 22:23:47 2020 New Revision: 11942 Log: Add forgotten "case" in glibc chapter 5
Modified: branches/cross2/chapter05/glibc.xml Modified: branches/cross2/chapter05/glibc.xml ============================================================================== --- branches/cross2/chapter05/glibc.xml Sun Jun 14 14:03:26 2020 (r11941) +++ branches/cross2/chapter05/glibc.xml Sun Jun 14 22:23:47 2020 (r11942) @@ -43,11 +43,17 @@ <sect2 role="installation"> <title>Installation of Glibc</title> - <para>First, create two symbolic links, which are needed for proper + <para>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:</para> -<screen><userinput remap="pre">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</userinput></screen> +<screen><userinput remap="pre">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</userinput></screen> <para>Some of the Glibc programs use the non-FHS compliant <filename class="directory">/var/db</filename> directory to store their -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page