Difference between revisions of "Libcap"
From CBLFS
Jump to navigationJump to searchBigdissaved (talk | contribs) m |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2. | + | | http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/libcap-{{libcap-Version}}.tar.bz2 |
|} | |} | ||
Line 18: | Line 18: | ||
make install && | make install && | ||
− | chmod -v 755 /lib/libcap.so. | + | chmod -v 755 /lib/libcap.so.{{libcap-Version}} |
== Multilib == | == Multilib == | ||
Line 31: | Line 31: | ||
make install && | make install && | ||
− | chmod -v 755 /lib/libcap.so. | + | chmod -v 755 /lib/libcap.so.{{libcap-Version}} |
− | |||
=== N32 === | === N32 === | ||
Line 42: | Line 41: | ||
make LIBDIR=/lib32 install && | make LIBDIR=/lib32 install && | ||
− | chmod -v 755 /lib32/libcap.so. | + | chmod -v 755 /lib32/libcap.so.{{libcap-Version}} |
− | |||
=== 64Bit === | === 64Bit === | ||
Line 53: | Line 51: | ||
make LIBDIR=/lib64 install && | make LIBDIR=/lib64 install && | ||
− | chmod -v 755 /lib64/libcap.so. | + | chmod -v 755 /lib64/libcap.so.{{libcap-Version}} |
Revision as of 11:11, 9 February 2008
Download Source: | http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/libcap-2.22.tar.bz2 |
---|
Dependencies
Non-Multilib
Compile the package:
make
Install the package
make install && chmod -v 755 /lib/libcap.so.2.22
Multilib
32Bit
Compile the package:
make CC="gcc ${BUILD32} -fPIC" LD="ld ${LD_BUILD32}"
Install the package
make install && chmod -v 755 /lib/libcap.so.2.22
N32
Compile the package:
make CC="gcc ${BUILDN32} -fPIC" LD="ld ${LD_BUILDN32}"
Install the package
make LIBDIR=/lib32 install && chmod -v 755 /lib32/libcap.so.2.22
64Bit
Compile the package:
make CC="gcc ${BUILD64} -fPIC" LD="ld ${LD_BUILD64}"
Install the package
make LIBDIR=/lib64 install && chmod -v 755 /lib64/libcap.so.2.22