undefined reference to `capng_save_state' - linkink e4rat-collect

Александр Демидов demidov at dimti.ru
Mon Sep 26 13:17:24 UTC 2016


 

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.

-- 
С уважением,
Александр Демидов
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20160926/1072cd04/attachment.htm>


More information about the Linux-audit mailing list