On Monday, September 26, 2016 4:17:24 PM EDT Александр Демидов wrote:
> Hello
> 
> I try to use new applications for me - e4rat
> 
> My OS: ArchLinux
> 
> I install audit with static libs for resolve building e4rat application
> 
> But, in building e4rat-collect, i fetched error:
> 
> [ 52%] Linking CXX executable ../e4rat-collect
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/libaudit.a(libaudit.o
> ): In function `audit_can_control':
> (.text+0x25f6): undefined reference to `capng_save_state'
> 
> I see in https://svn.fedorahosted.org/svn/audit/trunk/lib/libaudit.c the
> code
> 
> int audit_can_control(void)
> {
> #ifdef HAVE_LIBCAP_NG
>  void *state = capng_save_state();
> 
> But i dont understand, where error. In audit or in e4rat?
> If that error - bug in e4rat
> (https://wiki.archlinux.org/index.php/E4rat), please tell and i wrote to
> developers e4rat, if autdi is clean.

I think that you'll need static libcap-ng libraries to link against also. Or 
you can compile audit without libcap-ng support.

-Steve


--
Linux-audit mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-audit

Reply via email to