aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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>