* undefined reference to `capng_save_state' - linkink e4rat-collect
@ 2016-09-26 13:17 Александр Демидов
2016-09-26 19:50 ` Steve Grubb
0 siblings, 1 reply; 2+ messages in thread
From: Александр Демидов @ 2016-09-26 13:17 UTC (permalink / raw)
To: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 849 bytes --]
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.
--
С уважением,
Александр Демидов
[-- Attachment #1.2: Type: text/html, Size: 1133 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: undefined reference to `capng_save_state' - linkink e4rat-collect
2016-09-26 13:17 undefined reference to `capng_save_state' - linkink e4rat-collect Александр Демидов
@ 2016-09-26 19:50 ` Steve Grubb
0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2016-09-26 19:50 UTC (permalink / raw)
To: linux-audit
Cc: Александр Демидов
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
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-26 19:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-26 13:17 undefined reference to `capng_save_state' - linkink e4rat-collect Александр Демидов
2016-09-26 19:50 ` Steve Grubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox