ソースを参照

Removed all superfluous /usr/lib/*.so symbolic links from library

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2092 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 年 前
コミット
f600ad8dfa

+ 4 - 0
chapter01/changelog.xml

@@ -54,6 +54,10 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>September 12th, 2002 [gerard]: Removed all superfluous
+<filename>/usr/lib/*.so</filename> symbolic links from library
+installations.</para></listitem>
+
 <listitem><para>September 12th, 2002 [gerard]: Upgraded to
 lfs-bootscripts-1.10</para></listitem>
 

+ 0 - 2
chapter06/bzip2-inst.xml

@@ -9,13 +9,11 @@ make PREFIX=/usr install &amp;&amp;
 cp bzip2-shared /bin/bzip2 &amp;&amp;
 ln -s libbz2.so.1.0 libbz2.so &amp;&amp;
 cp -a libbz2.so* /lib &amp;&amp;
-ln -s ../../lib/libbz2.so /usr/lib &amp;&amp;
 rm /usr/bin/{bunzip2,bzcat,bzip2} &amp;&amp;
 mv /usr/bin/{bzip2recover,bzless,bzmore} /bin &amp;&amp;
 ln -s bzip2 /bin/bunzip2 &amp;&amp;
 ln -s bzip2 /bin/bzcat</userinput></screen></para>
 
-
 <para>Although it's not strictly a part of a basic LFS system it's worth
 mentioning that a patch for Tar can be downloaded which enables the tar
 program to compress and uncompress using bzip2/bunzip2 easily. With a

+ 3 - 10
chapter06/ncurses-exp.xml

@@ -1,10 +1,9 @@
 <sect2>
 <title>Command explanations</title>
 
-<para><userinput>patch -Np1 -i
-../ncurses-&ncurses-version;-patch:</userinput> This patch fixes a compile
-problem with GCC-3.2 because Ncurses uses constructions that are no longer
-valid in the new C++ standard.</para>
+<para><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-patch:</userinput>
+This patch fixes a compile problem with GCC-3.2 because Ncurses uses
+constructions that are no longer valid in the new C++ standard.</para>
 
 <para><userinput>--with-shared:</userinput> This enables the build of the
 shared ncurses library files.</para>
@@ -22,11 +21,5 @@ properly so we do it manually instead.</para>
 programs try to link using -lcurses instead of -lncurses.  This symlink
 ensures that such programs will link without errors.</para>
 
-<para><userinput>ln -sf ../../lib/libncurses.so etc:</userinput> These
-symlinks are created to tidy up the installation. It's good practice to
-have the *.so files in /usr/lib as well as in /lib, to ensure that the
-linker is always able to find the files whether it's looking in /lib or
-/usr/lib.</para>
-
 </sect2>
 

+ 1 - 6
chapter06/ncurses-inst.xml

@@ -13,11 +13,6 @@ make &amp;&amp;
 make install &amp;&amp;
 mv /lib/*.a /usr/lib &amp;&amp;
 chmod 755 /lib/*.5.2 &amp;&amp;
-ln -s libncurses.a /usr/lib/libcurses.a &amp;&amp;
-ln -s ../../lib/libncurses.so /usr/lib &amp;&amp;
-ln -s ../../lib/libcurses.so /usr/lib &amp;&amp;
-ln -s ../../lib/libform.so /usr/lib &amp;&amp;
-ln -s ../../lib/libpanel.so /usr/lib &amp;&amp;
-ln -s ../../lib/libmenu.so /usr/lib</userinput></screen></para>
+ln -s libncurses.a /usr/lib/libcurses.a</userinput></screen></para>
 </sect2>
 

+ 1 - 2
chapter06/shadowpwd-inst.xml

@@ -19,8 +19,7 @@ sed 's%/var/spool/mail%/var/mail%' \
 ln -s vipw /usr/sbin/vigr &amp;&amp;
 rm /bin/vipw &amp;&amp;
 mv /bin/sg /usr/bin &amp;&amp;
-mv /lib/{libmisc.*a,libshadow.*a} /usr/lib &amp;&amp;
-ln -s ../../lib/libshadow.so /usr/lib</userinput></screen></para>
+mv /lib/{libmisc.*a,libshadow.*a} /usr/lib</userinput></screen></para>
 
 <para>Sh-utils and Shadow Password Suite each install a unique
 <filename>groups</filename> program. If you wish, you may remove the