Difference between revisions of "Libcap"

From CBLFS
Jump to navigationJump to search
m
Line 56: Line 56:
 
  make lib=lib64 LIBDIR=/lib64 install &&
 
  make lib=lib64 LIBDIR=/lib64 install &&
 
  chmod -v 755 /lib64/libcap.so.{{libcap-Version}}
 
  chmod -v 755 /lib64/libcap.so.{{libcap-Version}}
 +
 +
[[Category:General Libs]]

Revision as of 18:45, 25 January 2009

Download Source: http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.22.tar.gz

Dependencies

Required

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="gcc -shared ${BUILD32} -fPIC"

Install the package

make lib=lib install &&
chmod -v 755 /lib/libcap.so.2.22

N32

Compile the package:

make CC="gcc ${BUILDN32} -fPIC" LD="gcc -shared ${BUILDN32} -fPIC"

Install the package

make lib=lib32 LIBDIR=/lib32 install &&
chmod -v 755 /lib32/libcap.so.2.22

64Bit

Compile the package:

make CC="gcc ${BUILD64} -fPIC" LD="gcc -shared ${BUILD64} -fPIC"

Install the package

make lib=lib64 LIBDIR=/lib64 install &&
chmod -v 755 /lib64/libcap.so.2.22
Retrieved from "?title=Libcap&oldid=16725"