diff options
Diffstat (limited to 'chapter08/bzip2.xml')
-rw-r--r-- | chapter08/bzip2.xml | 16 |
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> |