aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bzip2-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/bzip2-inst.xml')
-rw-r--r--chapter06/bzip2-inst.xml2
1 files changed, 2 insertions, 0 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 &&