mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
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
This commit is contained in:
parent
da964e96dd
commit
f600ad8dfa
@ -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>
|
||||
|
||||
|
@ -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</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
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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</userinput></screen></para>
|
||||
ln -s libncurses.a /usr/lib/libcurses.a</userinput></screen></para>
|
||||
</sect2>
|
||||
|
||||
|
@ -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</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
|
||||
|
Loading…
Reference in New Issue
Block a user