Changeset 5e06d04 for chapter08/libcap.xml
- Timestamp:
- 02/01/2021 08:37:19 AM (3 years ago)
- Branches:
- multilib-10.1
- Children:
- f695e02
- Parents:
- 3e73c5d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libcap.xml
r3e73c5d r5e06d04 50 50 <para>Compile the package:</para> 51 51 52 <screen><userinput remap="make">make lib=lib</userinput></screen>52 <screen><userinput remap="make">make prefix=/usr lib=lib</userinput></screen> 53 53 54 54 <variablelist> … … 59 59 <listitem> 60 60 <para>This parameter sets the library directory to 61 <filename>/ lib</filename> rather than62 <filename>/ lib64</filename> on x86_64. It has no effect on61 <filename>/usr/lib</filename> rather than 62 <filename>/usr/lib64</filename> on x86_64. It has no effect on 63 63 x86.</para> 64 64 </listitem> … … 70 70 <screen><userinput remap="test">make test</userinput></screen> 71 71 72 <para>Install the package and do some cleanup:</para> 73 74 <screen><userinput remap="install">make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfig install 72 <para>Install the package and make sure the essential libraries are in 73 the correct directory:</para> 74 75 <screen><userinput remap="install">make prefix=/usr lib=lib install 75 76 for libname in cap psx; do 77 mv -v /usr/lib/lib${libname}.so.* /lib 78 ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so 76 79 chmod -v 755 /lib/lib${libname}.so.&libcap-version; 77 rm -v /lib/lib${libname}.so78 ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so79 80 done</userinput></screen> 80 81
Note:
See TracChangeset
for help on using the changeset viewer.