aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-01-03 00:21:10 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-01-03 00:21:10 +0000
commit30a2c84f231091077b480144b53297ce2bf490d5 (patch)
treee99d4d6da58359eceb2dfc9007eb7733c4f0c9cd /chapter06/glibc-inst.xml
parentb7cea6e536b6037bf891acdf525230c9b9be72f1 (diff)
split up the glibc and man 'mega' patches
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2269 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r--chapter06/glibc-inst.xml17
1 files changed, 11 insertions, 6 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index b89ecb312..384b86577 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -35,7 +35,11 @@ username to userid resolving isn't working yet, so a
if you use the numeric IDs (such as <userinput>chown 0
file</userinput>).</para></listitem>
-<listitem><para>It fixes a problem that causes statically linked binaries
+</itemizedlist>
+
+<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-rootperl-patch-version;-root-perl.patch</userinput></screen></para>
+
+<para>There is a potential problem that causes statically linked binaries
to crash that were linked against Glibc-2.2 libraries. Even though static
binaries have all the necessary parts of Glibc built-in, they still rely
on one external library: Glibc's NSS libraries. These libraries, among
@@ -50,12 +54,13 @@ will load these new NSS libraries and start to abort with
<emphasis>segmentation faults</emphasis>. This patch undoes a few of the
changes to overcome the problem.</para>
-<para>We will install Glibc again at the end of this chapter to remove this
-patch so you'll have a pristine Glibc as the developers intended
-it.</para></listitem>
-</itemizedlist>
+<para>So, if you started chapter 5 with a host system that uses Glibc-2.2.x
+you must apply the following patch. We will install Glibc again at the end
+of this chapter to remove this patch so you'll have a pristine Glibc as the
+developers intended
+it.</para>
-<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-patch-version;.patch</userinput></screen></para>
+<para><screen><userinput>patch -Np1 -i ../glibc-&glibc-libnss-patch-version;-libnss.patch</userinput></screen></para>
<para>Glibc will check for the <filename>/etc/ld.so.conf</filename> file
and abort with an error if the file is missing, so we must create it.</para>