aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/readline.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/readline.xml')
-rw-r--r--chapter06/readline.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index 047f9c106..96437bf1b 100644
--- a/chapter06/readline.xml
+++ b/chapter06/readline.xml
@@ -32,9 +32,7 @@ GCC, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
way it is expected at times. Fix this behavior with the following
patch:</para>
-<screen><userinput>patch -Np1 -i ../readline-&readline-version;-gnu_fixes-1.patch</userinput></screen>
-
-<para>Now prepare Readline for compilation:</para>
+<para>Prepare Readline for compilation:</para>
<screen><userinput>./configure --prefix=/usr</userinput></screen>
@@ -52,12 +50,12 @@ patch:</para>
<para>And move them to a more appropriate location:</para>
-<screen><userinput>mv /usr/lib/lib{readline,history}.so.4* /lib</userinput></screen>
+<screen><userinput>mv /usr/lib/lib{readline,history}.so.5* /lib</userinput></screen>
<para>Because the libraries have been moved, a few symlinks are now pointing to
non-existent files. Recreate those symlinks:</para>
-<screen><userinput>ln -sf ../../lib/libhistory.so.4 /usr/lib/libhistory.so
+<screen><userinput>ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so
ln -sf ../../lib/libreadline.so.4 /usr/lib/libreadline.so</userinput></screen>
</sect2>