diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/glibc.xml | 12 |
1 files changed, 9 insertions, 3 deletions
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 @@ <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 |