Changeset acdb4a6 for chapter06/zlib.xml


Ignore:
Timestamp:
02/19/2005 08:56:45 PM (20 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/zlib.xml

    rb465451 racdb4a6  
    5151<screen><userinput>make install</userinput></screen>
    5252
     53<para>Now we will remove the old, .so files in /lib and relink them
     54into /usr/lib.</para>
     55
     56<screen><userinput>rm /lib/libz.so
     57ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
     58
    5359<beginpage/>
    5460
     
    6975
    7076<screen><userinput>chmod 644 /usr/lib/libz.a</userinput></screen>
    71 
    72 <para>It is good policy and common practice to place important
    73 libraries into the <filename class="directory">/lib</filename>
    74 directory. This is most important in scenarios where <filename
    75 class="directory">/usr</filename> is on a separate partition.
    76 Essentially, the run-time components of any libraries that are used by
    77 programs in <filename class="directory">/bin</filename> or <filename
    78 class="directory">/sbin</filename> should reside in <filename
    79 class="directory">/lib</filename> so that they are on the root
    80 partition and available in the event of <filename
    81 class="directory">/usr</filename> being inaccessible.</para>
    82 
    83 <para>For the above reason, move the run-time components of the shared Zlib
    84 into <filename class="directory">/lib</filename>:</para>
    85 
    86 <screen><userinput>mv /usr/lib/libz.so.* /lib</userinput></screen>
    87 
    88 <para>Fix the <filename class="symlink">/usr/lib/libz.so</filename>
    89 symlink:</para>
    90 
    91 <screen><userinput>ln -sf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen>
    9277
    9378</sect2>
Note: See TracChangeset for help on using the changeset viewer.