diff options
author | Archaic <archaic@linuxfromscratch.org> | 2006-05-01 17:50:08 +0000 |
---|---|---|
committer | Archaic <archaic@linuxfromscratch.org> | 2006-05-01 17:50:08 +0000 |
commit | 2ed4bb3f5246251231efd7c1ddd9df0df109bb21 (patch) | |
tree | 07db117cf99ae85976064aeddef7f10e0d57ea34 | |
parent | efa4a64d4297eb1bee0e993ee7b05bdfa8fc0c75 (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
-rw-r--r-- | chapter01/changelog.xml | 5 | ||||
-rw-r--r-- | chapter06/readline.xml | 8 |
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 + <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> |