Hi Serge,

I was trying to compile the filecaps tests from:
ltp-full-20081031/testcases/kernel/security/filecaps, but go the
following message:

$ make
which: no setcap in
(/usr/kerberos/sbin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/ibm/c4eb/bin:/home/subratamodak/SOFTWARE_DOWNLOADS/ABAT_CLIENT/:/home/subratamodak/bin:/home/subratamodak/bin:/usr/kerberos/bin)
setcap or xattr headers not installed.  Please install libcap from
ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2.
You must use libcap-2.11 or newer.
Then make clean in ltp or ltp/testcases/kernel/security/filecaps, and
recompile ltp.

I installed libcap-2.11 from:
ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2.

# find /lib -name libcap*
/lib/libcap.so.2.11
/lib/libcap.so.1.10
/lib/libcap.a
/lib/libcap.so.2
/lib/libcap.so
/lib/libcap.so.1

I thought there might be a problem even after /sbin/ldconfig is run. So,
i exported the LD_LIBRARY_PATH variable as:

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/lib:/usr/local/lib/
$ echo $LD_LIBRARY_PATH
:/lib/:/lib:/usr/lib:/usr/local/lib/

And still it is not building:
# make
which: no setcap in
(/usr/kerberos/sbin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/ibm/c4eb/bin:/home/subratamodak/SOFTWARE_DOWNLOADS/ABAT_CLIENT/:/home/subratamodak/bin:/home/subratamodak/bin:/usr/kerberos/bin)
setcap or xattr headers not installed.  Please install libcap from
ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2.
You must use libcap-2.11 or newer.
Then make clean in ltp or ltp/testcases/kernel/security/filecaps, and
recompile ltp.


Is there something else i am missing ? Do i need to build my kernel with
specific options, as well as enable some variables in the running kernel
to enable build/install/run of these tests ?

Regards--
Subrata



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to