Changeset 4622193e
- Timestamp:
- 01/27/2021 04:43:14 AM (4 years ago)
- Branches:
- 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 742c6324
- Parents:
- 8850677
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libcap.xml
r8850677 r4622193e 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> 72 <para>Install the package and make sure the essential libraries are in 73 the correct directory:</para> 73 74 74 <screen><userinput remap="install">make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfiginstall75 <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.