Author: dj
Date: 2008-10-11 21:55:20 -0600 (Sat, 11 Oct 2008)
New Revision: 8645
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter05/glibc.xml
Log:
killed /etc/ld.so.preload from Chapter 5 Glibc, #2081.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2008-10-12 00:39:47 UTC (rev 8644)
+++ trunk/BOOK/chapter01/changelog.xml 2008-10-12 03:55:20 UTC (rev 8645)
@@ -41,6 +41,10 @@
<para>2008-10-12</para>
<itemizedlist>
<listitem>
+ <para>[dj] - Added instruction to keep Chapter 5 Glibc from honoring
+ /etc/ld.so.preload. Thanks to Alexander Patrakov for the fix.</para>
+ </listitem>
+ <listitem>
<para>[randy] - Added descriptions of the configure options used
in the GMP instructions and updated the installed library
descriptions.</para>
@@ -52,7 +56,7 @@
<para>2008-10-11</para>
<itemizedlist>
<listitem>
- <para>[dj] - Removed the chapter 5 glibc test suite information as
+ <para>[dj] - Removed the Chapter 5 Glibc test suite information as
it requires a working C++ compiler to run.</para>
</listitem>
<listitem>
Modified: trunk/BOOK/chapter05/glibc.xml
===================================================================
--- trunk/BOOK/chapter05/glibc.xml 2008-10-12 00:39:47 UTC (rev 8644)
+++ trunk/BOOK/chapter05/glibc.xml 2008-10-12 03:55:20 UTC (rev 8645)
@@ -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>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page