aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter06/readline.xml8
2 files changed, 13 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ddc66a61e..f8cdd826c 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -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>
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>