aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorArchaic <archaic@linuxfromscratch.org>2006-05-01 17:50:08 +0000
committerArchaic <archaic@linuxfromscratch.org>2006-05-01 17:50:08 +0000
commit2ed4bb3f5246251231efd7c1ddd9df0df109bb21 (patch)
tree07db117cf99ae85976064aeddef7f10e0d57ea34 /chapter06
parentefa4a64d4297eb1bee0e993ee7b05bdfa8fc0c75 (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/readline.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index 098b7992f..747515be9 100644
--- a/chapter06/readline.xml
+++ b/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>