aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-09-12 17:39:25 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-09-12 17:39:25 +0000
commitf600ad8dfa5fcffe7e8307e5d9b023aee09d10f9 (patch)
tree7b0d67c91539c66c57602501ee56d61d38b32c78 /chapter06
parentda964e96dd89b96abe361e7cb2df95106ae2c5db (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/bzip2-inst.xml2
-rw-r--r--chapter06/ncurses-exp.xml13
-rw-r--r--chapter06/ncurses-inst.xml7
-rw-r--r--chapter06/shadowpwd-inst.xml3
4 files changed, 5 insertions, 20 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index 97297157d..12702cb1b 100644
--- a/chapter06/bzip2-inst.xml
+++ b/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
diff --git a/chapter06/ncurses-exp.xml b/chapter06/ncurses-exp.xml
index 1e9c7d516..ac9f5fdbc 100644
--- a/chapter06/ncurses-exp.xml
+++ b/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>
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml
index 97890fbe1..7ed092d36 100644
--- a/chapter06/ncurses-inst.xml
+++ b/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>
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index 17a3f365d..8f0e7ebe5 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/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