aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/readline.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/readline.xml')
-rw-r--r--chapter06/readline.xml14
1 files changed, 4 insertions, 10 deletions
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index 5ce6413ba..64feb87a0 100644
--- a/chapter06/readline.xml
+++ b/chapter06/readline.xml
@@ -35,7 +35,7 @@ sometimes will only show 33 characters on a line and then wrap to the next line.
<para>Prepare Readline for compilation:</para>
-<screen><userinput>./configure --prefix=/usr</userinput></screen>
+<screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
<para>Compile the package:</para>
@@ -47,17 +47,11 @@ sometimes will only show 33 characters on a line and then wrap to the next line.
<para>Give Readline's dynamic libraries to a more appropriate permissions:</para>
-<screen><userinput>chmod 755 /usr/lib/*.&readline-version;</userinput></screen>
+<screen><userinput>chmod 755 /lib/lib{readline.history}.so*</userinput></screen>
-<para>And move them to a more appropriate location:</para>
+<para>Now we move them static libraries to a more appropriate location:</para>
-<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.5 /usr/lib/libhistory.so
-ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so</userinput></screen>
+<screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen>
</sect2>