Changeset acdb4a6 for chapter06/zlib.xml
- Timestamp:
- 02/19/2005 08:56:45 PM (20 years ago)
- Children:
- 21bedf7
- Parents:
- b465451
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/zlib.xml
rb465451 racdb4a6 51 51 <screen><userinput>make install</userinput></screen> 52 52 53 <para>Now we will remove the old, .so files in /lib and relink them 54 into /usr/lib.</para> 55 56 <screen><userinput>rm /lib/libz.so 57 ln -sf ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen> 58 53 59 <beginpage/> 54 60 … … 69 75 70 76 <screen><userinput>chmod 644 /usr/lib/libz.a</userinput></screen> 71 72 <para>It is good policy and common practice to place important73 libraries into the <filename class="directory">/lib</filename>74 directory. This is most important in scenarios where <filename75 class="directory">/usr</filename> is on a separate partition.76 Essentially, the run-time components of any libraries that are used by77 programs in <filename class="directory">/bin</filename> or <filename78 class="directory">/sbin</filename> should reside in <filename79 class="directory">/lib</filename> so that they are on the root80 partition and available in the event of <filename81 class="directory">/usr</filename> being inaccessible.</para>82 83 <para>For the above reason, move the run-time components of the shared Zlib84 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>92 77 93 78 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.