r7574 - in trunk/BOOK: chapter01 chapter06

archaic at linuxfromscratch.org archaic at linuxfromscratch.org
Mon May 1 10:50:08 PDT 2006


Author: archaic
Date: 2006-05-01 11:50:08 -0600 (Mon, 01 May 2006)
New Revision: 7574

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/readline.xml
Log:
Added two seds to avoid symlink problems with Readline during reinstallation.
Thanks to Dan and Manuel for the fix and for testing. Fixes ticket #1770.


Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2006-05-01 17:00:41 UTC (rev 7573)
+++ trunk/BOOK/chapter01/changelog.xml	2006-05-01 17:50:08 UTC (rev 7574)
@@ -40,6 +40,11 @@
       <para>May 1, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[archaic] - Added two seds to avoid symlink problems with
+          Readline during reinstallation. Thanks to Dan and Manuel for the fix
+          and for testing. Fixes ticket #1770.</para>
+        </listitem>
+        <listitem>
           <para>[archaic] - Fixed issue where module-init-tools would not
           re-install its binaries.</para>
         </listitem>

Modified: trunk/BOOK/chapter06/readline.xml
===================================================================
--- trunk/BOOK/chapter06/readline.xml	2006-05-01 17:00:41 UTC (rev 7573)
+++ trunk/BOOK/chapter06/readline.xml	2006-05-01 17:50:08 UTC (rev 7574)
@@ -40,6 +40,14 @@
 
 <screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
 
+    <para>Reinstalling Readline will cause the old libraries to be moved to
+    <libraryname>.old. While this is normally not a problem, in some cases
+    it can trigger a linking bug in <command>ldconfig</command>. This can be
+    avoided by issuing the following two seds:</para>
+
+<screen><userinput>sed -i '/MV.*old/d' Makefile.in
+sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
+
     <para>Prepare Readline for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>




More information about the lfs-book mailing list