aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter06/bzip2-inst.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index ba92ead24..4e6ca8e03 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -9,8 +9,11 @@
<userinput>cp -f bzip2recover /bin &amp;&amp;</userinput>
<userinput>cp -f bzip2.1 /usr/share/man/man1 &amp;&amp;</userinput>
<userinput>cp -f bzlib.h /usr/include &amp;&amp;</userinput>
-<userinput>cp -af libbz2.so* libbz2.a /lib &amp;&amp;</userinput>
+<userinput>cp -af libbz2.so* /lib &amp;&amp;</userinput>
<userinput>rm -f /usr/lib/libbz2.a &amp;&amp;</userinput>
+<userinput>cp -f libbz2.a /usr/lib &amp;&amp;</userinput>
+<userinput>cd /usr/lib &amp;&amp;</userinput>
+<userinput>ln -sf ../../lib/libbz2.so &amp;&amp;</userinput>
<userinput>cd /bin &amp;&amp;</userinput>
<userinput>ln -sf bzip2 bunzip2 &amp;&amp;</userinput>
<userinput>ln -sf bzip2 bzcat &amp;&amp;</userinput>