diff options
-rw-r--r-- | chapter06/bzip2-inst.xml | 5 |
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 &&</userinput> <userinput>cp -f bzip2.1 /usr/share/man/man1 &&</userinput> <userinput>cp -f bzlib.h /usr/include &&</userinput> -<userinput>cp -af libbz2.so* libbz2.a /lib &&</userinput> +<userinput>cp -af libbz2.so* /lib &&</userinput> <userinput>rm -f /usr/lib/libbz2.a &&</userinput> +<userinput>cp -f libbz2.a /usr/lib &&</userinput> +<userinput>cd /usr/lib &&</userinput> +<userinput>ln -sf ../../lib/libbz2.so &&</userinput> <userinput>cd /bin &&</userinput> <userinput>ln -sf bzip2 bunzip2 &&</userinput> <userinput>ln -sf bzip2 bzcat &&</userinput> |