Difference between revisions of "Libcap"
From CBLFS
Jump to navigationJump to searchLine 26: | Line 26: | ||
Compile the package: | Compile the package: | ||
− | make CC="gcc ${BUILD32}" LD="ld ${LD_BUILD32}" | + | make CC="gcc ${BUILD32} -fPIC" LD="ld ${LD_BUILD32}" |
Install the package | Install the package | ||
Line 37: | Line 37: | ||
Compile the package: | Compile the package: | ||
− | make CC="gcc ${BUILDN32}" LD="ld ${LD_BUILDN32}" | + | make CC="gcc ${BUILDN32} -fPIC" LD="ld ${LD_BUILDN32}" |
Install the package | Install the package | ||
Line 48: | Line 48: | ||
Compile the package: | Compile the package: | ||
− | make CC="gcc ${BUILD64}" LD="ld ${LD_BUILD64}" | + | make CC="gcc ${BUILD64} -fPIC" LD="ld ${LD_BUILD64}" |
Install the package | Install the package |
Revision as of 11:49, 15 October 2006
Download Source: | http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.2/libcap-1.10.tar.bz2 |
---|
Dependencies
Non-Multilib
Compile the package:
make
Install the package
make install && chmod -v 755 /lib/libcap.so.1.10
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.1.10
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.1.10
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.1.10