Changeset acdb4a6 for chapter06/readline.xml
- Timestamp:
- 02/19/2005 08:56:45 PM (19 years ago)
- Children:
- 21bedf7
- Parents:
- b465451
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/readline.xml
rb465451 racdb4a6 60 60 <para>Give Readline's dynamic libraries more appropriate permissions:</para> 61 61 62 <screen><userinput>chmod 755 / usr/lib/*.&readline-version;</userinput></screen>62 <screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen> 63 63 64 64 <beginpage/> 65 <para>Move the dynamic libraries to a more appropriate location:</para>66 65 67 <screen><userinput>mv /usr/lib/lib{readline,history}.so.5* /lib</userinput></screen> 66 <para>Now we move the static libraries to a more appropriate 67 location:</para> 68 68 69 <para>Because the libraries have been moved, a few symlinks are now pointing to 70 non-existent files. Recreate those symlinks:</para> 69 <screen><userinput>mv /lib/lib{readline,history}.a /usr/lib</userinput></screen> 71 70 72 <screen><userinput>ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so 73 ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so</userinput></screen> 71 <para>Next we will remove the old, <filename>.so</filename> files in 72 <filename class="directory">/lib</filename> and relink them into 73 <filename class="directory">/usr/lib</filename>.</para> 74 75 <screen><userinput>rm /lib/lib{readline,history}.so 76 ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so 77 ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen> 74 78 75 79 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.