diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-09-14 04:18:47 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-09-14 04:18:47 +0000 |
commit | 8d8ab633a0bf92e5f9f95518616120b4d82a5d5a (patch) | |
tree | a34099680e8806298b24d79036f1a8d8ab089899 | |
parent | 06cf96a326e9f17b553d505e58756fe0472a6159 (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.xml | 2 | ||||
-rw-r--r-- | chapter06/ncurses-inst.xml | 10 | ||||
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 4 | ||||
-rw-r--r-- | index.xml | 4 |
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 && cp bzip2-shared /bin/bzip2 && ln -s libbz2.so.1.0 libbz2.so && cp -a libbz2.so* /lib && +rm /lib/libbz2.so && +ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so && rm /usr/bin/{bunzip2,bzcat,bzip2} && mv /usr/bin/{bzip2recover,bzless,bzmore} /bin && ln -s bzip2 /bin/bunzip2 && 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 && -./configure --prefix=/usr --libdir=/lib --with-shared && +./configure --prefix=/usr --with-shared && make && make install && -mv /lib/*.a /usr/lib && -chmod 755 /lib/*.5.2 && -ln -s libncurses.a /usr/lib/libcurses.a</userinput></screen></para> +chmod 755 /usr/lib/*.5.2 && +mv /usr/lib/libncurses.so.5* /lib && +ln -s libncurses.a /usr/lib/libcurses.a && +ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so && +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 && rm /bin/vipw && mv /bin/sg /usr/bin && -mv /usr/lib/lib{shadow,misc}.so* /lib</userinput></screen></para> +mv /usr/lib/lib{shadow,misc}.so.0* /lib && +ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so && +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 @@ -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"> |