aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc.xml
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2008-10-12 03:55:20 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2008-10-12 03:55:20 +0000
commitb2e93767f8535ff079dc350792717da267cd9269 (patch)
treea614298cfc89c22fea9fa729527330a7a6619008 /chapter05/glibc.xml
parent0bb67603641c3afa7ecc7deadbfc85e65e9306bd (diff)
killed /etc/ld.so.preload from Chapter 5 Glibc, #2081.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8645 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r--chapter05/glibc.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 6bd5d6aad..23a8d2351 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -43,6 +43,11 @@
<sect2 role="installation">
<title>Installation of Glibc</title>
+ <para>Fix a potential issue if <filename>/etc/ld.so.preload</filename> is
+ used on the host system.</para>
+
+<screen><userinput remap="pre">sed -i 's@/etc/ld.so.preload@/tools/etc/ld.so.preload@' elf/rtld.c</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>