|
@@ -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
|