aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorThomas Trepl (Moody) <thomas@linuxfromscratch.org>2021-05-13 18:30:55 +0200
committerThomas Trepl (Moody) <thomas@linuxfromscratch.org>2021-05-13 18:30:55 +0200
commitf5c3bf6e7e18f5dbb5af6da7f516187ce549aae5 (patch)
treeb01cc4e83db5026d7a7ed5c716a529f38279bc3a /chapter08
parent8725caed0249a7f00cff153ca69ed2f5168de6ce (diff)
Use a configuration option to set the loader pathes in ldd
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/glibc.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index 8efd2ca90..16f778f0f 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -72,7 +72,8 @@ cd build</userinput></screen>
--enable-kernel=&min-kernel; \
--enable-stack-protector=strong \
--with-headers=/usr/include \
- libc_cv_slibdir=/usr/lib</userinput></screen>
+ libc_cv_slibdir=/usr/lib \
+ libc_cv_rtlddir=/lib</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -121,6 +122,14 @@ cd build</userinput></screen>
</varlistentry>
<varlistentry>
+ <term><parameter>libc_cv_rtlddir=/lib</parameter></term>
+ <listitem>
+ <para>Fix hardcoded path to the executable loader in the
+ <command>ldd</command> script.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>libc_cv_include_x86_isa_level=no</option></term>
<listitem>
<para>This disables <quote>x86 ISA needed</quote> property in
@@ -214,12 +223,12 @@ esac</userinput></screen>
<para>Install the package:</para>
<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>