aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/readline.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/readline.xml')
-rw-r--r--chapter06/readline.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index da1eb34a7..93abec7ea 100644
--- a/chapter06/readline.xml
+++ b/chapter06/readline.xml
@@ -79,9 +79,10 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
<screen><userinput remap="install">make SHLIB_LIBS="-L/tools/lib -lncurses" install</userinput></screen>
<para>Now move the dynamic libraries to a more appropriate location
- and fix up some symbolic links:</para>
+ and fix up some permissions and symbolic links:</para>
<screen><userinput remap="install">mv -v /usr/lib/lib{readline,history}.so.* /lib
+chmod -v u+w /lib/lib{readline,history}.so.*
ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) /usr/lib/libreadline.so
ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) /usr/lib/libhistory.so</userinput></screen>