Browse Source

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.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7574 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Archaic 19 năm trước cách đây
mục cha
commit
2ed4bb3f52
2 tập tin đã thay đổi với 13 bổ sung0 xóa
  1. 5 0
      chapter01/changelog.xml
  2. 8 0
      chapter06/readline.xml

+ 5 - 0
chapter01/changelog.xml

@@ -39,6 +39,11 @@
     <listitem>
       <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>

+ 8 - 0
chapter06/readline.xml

@@ -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
+    &lt;libraryname&gt;.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>