Ignore:
Timestamp:
02/19/2005 08:56:45 PM (19 years ago)
Author:
Gerard Beekmans <gerard@…>
Children:
21bedf7
Parents:
b465451
Message:

Synced missing parts from zlib and readline

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4644 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/readline.xml

    rb465451 racdb4a6  
    6060<para>Give Readline's dynamic libraries more appropriate permissions:</para>
    6161
    62 <screen><userinput>chmod 755 /usr/lib/*.&readline-version;</userinput></screen>
     62<screen><userinput>chmod 755 /lib/lib{readline,history}.so*</userinput></screen>
    6363
    6464<beginpage/>
    65 <para>Move the dynamic libraries to a more appropriate location:</para>
    6665
    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
     67location:</para>
    6868
    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>
    7170
    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
     76ln -sf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
     77ln -sf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
    7478
    7579</sect2>
Note: See TracChangeset for help on using the changeset viewer.