aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorThomas Trepl (Moody) <thomas@linuxfromscratch.org>2021-05-14 12:54:44 +0200
committerThomas Trepl (Moody) <thomas@linuxfromscratch.org>2021-05-14 12:54:44 +0200
commit1b1acbed6533097e85c80dd85681cac1842d4b79 (patch)
tree698301bddb6d61a254f4ce015bf35b34909ad80f /chapter05
parentf5c3bf6e7e18f5dbb5af6da7f516187ce549aae5 (diff)
Use /usr/lib for libc_cv_rtlddir
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/glibc.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 8a28e4546..e3d77b8bf 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -81,7 +81,7 @@ cd build</userinput></screen>
--enable-kernel=&min-kernel; \
--with-headers=$LFS/usr/include \
libc_cv_slibdir=/usr/lib \
- libc_cv_rtlddir=/lib</userinput></screen>
+ libc_cv_rtlddir=/usr/lib</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -123,7 +123,7 @@ cd build</userinput></screen>
</varlistentry>
<varlistentry>
- <term><parameter>libc_cv_rtlddir=/lib</parameter></term>
+ <term><parameter>libc_cv_rtlddir=/usr/lib</parameter></term>
<listitem>
<para>Fix hardcoded path to the executable loader in the
<command>ldd</command> script.</para>
@@ -193,12 +193,12 @@ cd build</userinput></screen>
</varlistentry>
</variablelist>
-<!--
+
<para>Fix hardcoded path to the executable loader in
<command>ldd</command> script:</para>
<screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i $LFS/usr/bin/ldd</userinput></screen>
--->
+
<caution>
<para>At this point, it is imperative to stop and ensure that the basic
functions (compiling and linking) of the new toolchain are working as