glibc: fix ldd script

This commit is contained in:
Xi Ruoyao 2021-05-13 23:26:54 +08:00
parent 5d0219fdad
commit 7bf2e85ea6
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC
2 changed files with 10 additions and 0 deletions

View File

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

View File

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