aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/bzip2.xml
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2021-05-11 23:24:11 -0500
committerDouglas R. Reno <renodr@linuxfromscratch.org>2021-05-11 23:24:11 -0500
commitd7a942197e713339d4dc1eedab4dafd4179a5cd8 (patch)
tree48aba90323070adb9a54e83ce1ebed902d0b19c3 /chapter08/bzip2.xml
parent0f7d4cb8a734227ea85f46c5b934ed1b85a51b3c (diff)
Merge Xi's changes into trunk
Update to meson-0.58.0 Update to systemd-248 Update to gcc-11.1.0 Update to linux-5.12.1 Update to iproute2-5.12.0 Update to Python-3.9.5 Make /bin, /sbin, and /lib symlinks to their counterparts in /usr. Thanks again for a significant portion of this work goes to Xi, I only really merged it and made a couple of modifications for my updates. To LFS 11.x we go!
Diffstat (limited to 'chapter08/bzip2.xml')
-rw-r--r--chapter08/bzip2.xml16
1 files changed, 7 insertions, 9 deletions
diff --git a/chapter08/bzip2.xml b/chapter08/bzip2.xml
index c842e5cd9..d3b7d42c4 100644
--- a/chapter08/bzip2.xml
+++ b/chapter08/bzip2.xml
@@ -84,16 +84,14 @@ make clean</userinput></screen>
<screen><userinput remap="install">make PREFIX=/usr install</userinput></screen>
+ <para>Install the shared library:</para>
+<screen><userinput remap="install">cp -av libbz2.so.* /usr/lib
+ln -sv libbz2.so.&bzip2-version; /usr/lib/libbz2.so</userinput></screen>
+
<para>Install the shared <command>bzip2</command> binary into the
- <filename class="directory">/bin</filename> directory, make
- some necessary symbolic links, and clean up:</para>
-
-<screen><userinput remap="install">cp -v bzip2-shared /bin/bzip2
-cp -av libbz2.so* /lib
-ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
-rm -v /usr/bin/{bunzip2,bzcat,bzip2}
-ln -sv bzip2 /bin/bunzip2
-ln -sv bzip2 /bin/bzcat</userinput></screen>
+ <filename class="directory">/bin</filename> directory:</para>
+
+<screen><userinput remap="install">cp -v bzip2-shared /bin/bzip2</userinput></screen>
<para>Remove an useless static library:</para>