aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-05-13 23:26:54 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-05-13 23:28:16 +0800
commit7bf2e85ea60cbd20a1aabed7c581661147b65d00 (patch)
tree76334c2036a5b393e39c1c71f0b048077d893009 /chapter05
parent5d0219fdad8111535fe2608b410a9fa6c5f11ed3 (diff)
glibc: fix ldd script
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/glibc.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index fdd7ef346..02ff025e2 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -185,6 +185,11 @@ cd build</userinput></screen>
</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