aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-09-14 04:18:47 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-09-14 04:18:47 +0000
commit8d8ab633a0bf92e5f9f95518616120b4d82a5d5a (patch)
treea34099680e8806298b24d79036f1a8d8ab089899
parent06cf96a326e9f17b553d505e58756fe0472a6159 (diff)
Fixed the 'superfluous *.so symlinks' again.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2111 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/bzip2-inst.xml2
-rw-r--r--chapter06/ncurses-inst.xml10
-rw-r--r--chapter06/shadowpwd-inst.xml4
-rw-r--r--index.xml4
4 files changed, 13 insertions, 7 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index 12702cb1b..9bfc7df64 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -9,6 +9,8 @@ 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;
+rm /lib/libbz2.so &amp;&amp;
+ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so &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;
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml
index 7ed092d36..d4a17128c 100644
--- a/chapter06/ncurses-inst.xml
+++ b/chapter06/ncurses-inst.xml
@@ -8,11 +8,13 @@ commands.</para>
<para>Install Ncurses by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-patch-version;.patch &amp;&amp;
-./configure --prefix=/usr --libdir=/lib --with-shared &amp;&amp;
+./configure --prefix=/usr --with-shared &amp;&amp;
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</userinput></screen></para>
+chmod 755 /usr/lib/*.5.2 &amp;&amp;
+mv /usr/lib/libncurses.so.5* /lib &amp;&amp;
+ln -s libncurses.a /usr/lib/libcurses.a &amp;&amp;
+ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so &amp;&amp;
+ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so</userinput></screen></para>
</sect2>
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index be2014c78..05f997f6c 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -20,7 +20,9 @@ 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 /usr/lib/lib{shadow,misc}.so* /lib</userinput></screen></para>
+mv /usr/lib/lib{shadow,misc}.so.0* /lib &amp;&amp;
+ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &amp;&amp;
+ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</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
diff --git a/index.xml b/index.xml
index 159a77f89..c8f26cec2 100644
--- a/index.xml
+++ b/index.xml
@@ -4,8 +4,8 @@
<!ENTITY book SYSTEM "book/book.xml">
-<!ENTITY version "20020913">
-<!ENTITY releasedate "September 13th, 2002">
+<!ENTITY version "20020914">
+<!ENTITY releasedate "September 14th, 2002">
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
<!ENTITY http-root "http://ftp.linuxfromscratch.org">