aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/zlib.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/zlib.xml')
-rw-r--r--chapter06/zlib.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml
index 1dfa3a9bc..2dcc49413 100644
--- a/chapter06/zlib.xml
+++ b/chapter06/zlib.xml
@@ -63,7 +63,7 @@
<filename class="directory">/usr/lib</filename> will need to be recreated:</para>
<screen><userinput remap="install">mv -v /usr/lib/libz.so.* /lib
-ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
+ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so</userinput></screen>
</sect2>