aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/libcap.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/libcap.xml')
-rw-r--r--chapter08/libcap.xml16
1 files changed, 7 insertions, 9 deletions
diff --git a/chapter08/libcap.xml b/chapter08/libcap.xml
index f3b6c0074..d8fc15175 100644
--- a/chapter08/libcap.xml
+++ b/chapter08/libcap.xml
@@ -69,15 +69,13 @@
<screen><userinput remap="test">make test</userinput></screen>
- <para>Install the package and make sure the essential libraries are in
- the correct directory:</para>
-
-<screen><userinput remap="install">make prefix=/usr lib=lib install
-for libname in cap psx; do
- mv -v /usr/lib/lib${libname}.so.* /lib
- ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so
- chmod -v 755 /lib/lib${libname}.so.&libcap-version;
-done</userinput></screen>
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make prefix=/usr lib=lib install</userinput></screen>
+
+ <para>Adjust the permission of the shared libraries:</para>
+
+<screen><userinput remap="install">chmod -v 755 /usr/lib/lib{cap,psx}.so.&libcap-version;</userinput></screen>
</sect2>