diff options
-rw-r--r-- | chapter05/glibc.xml | 5 | ||||
-rw-r--r-- | chapter08/glibc.xml | 5 |
2 files changed, 10 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 diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 3b51906b5..8efd2ca90 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -215,6 +215,11 @@ esac</userinput></screen> <screen><userinput remap="install">make install</userinput></screen> + <para>Fix hardcoded path to the executable loader in + <command>ldd</command> script:</para> + +<screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen> + <para>Install the configuration file and runtime directory for <command>nscd</command>:</para> |