diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index aa7d164c2..65a584446 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -54,6 +54,10 @@ +September 12th, 2002 [gerard]: Removed all superfluous +/usr/lib/*.so symbolic links from library +installations. + September 12th, 2002 [gerard]: Upgraded to lfs-bootscripts-1.10 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 && cp bzip2-shared /bin/bzip2 && ln -s libbz2.so.1.0 libbz2.so && cp -a libbz2.so* /lib && -ln -s ../../lib/libbz2.so /usr/lib && rm /usr/bin/{bunzip2,bzcat,bzip2} && mv /usr/bin/{bzip2recover,bzless,bzmore} /bin && ln -s bzip2 /bin/bunzip2 && ln -s bzip2 /bin/bzcat - 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 @@ Command explanations -patch -Np1 -i -../ncurses-&ncurses-version;-patch: This patch fixes a compile -problem with GCC-3.2 because Ncurses uses constructions that are no longer -valid in the new C++ standard. +patch -Np1 -i ../ncurses-&ncurses-version;-patch: +This patch fixes a compile problem with GCC-3.2 because Ncurses uses +constructions that are no longer valid in the new C++ standard. --with-shared: This enables the build of the shared ncurses library files. @@ -22,11 +21,5 @@ properly so we do it manually instead. programs try to link using -lcurses instead of -lncurses. This symlink ensures that such programs will link without errors. -ln -sf ../../lib/libncurses.so etc: 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. - 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 && make install && mv /lib/*.a /usr/lib && chmod 755 /lib/*.5.2 && -ln -s libncurses.a /usr/lib/libcurses.a && -ln -s ../../lib/libncurses.so /usr/lib && -ln -s ../../lib/libcurses.so /usr/lib && -ln -s ../../lib/libform.so /usr/lib && -ln -s ../../lib/libpanel.so /usr/lib && -ln -s ../../lib/libmenu.so /usr/lib +ln -s libncurses.a /usr/lib/libcurses.a 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 && rm /bin/vipw && mv /bin/sg /usr/bin && -mv /lib/{libmisc.*a,libshadow.*a} /usr/lib && -ln -s ../../lib/libshadow.so /usr/lib +mv /lib/{libmisc.*a,libshadow.*a} /usr/lib Sh-utils and Shadow Password Suite each install a unique groups program. If you wish, you may remove the