glibc 2.14安装错误selinux.c:错误:libaudit.h没有这样的文件或目录

问题描述 投票:0回答:1

尝试在this解决方案之后安装glibc 2.14。

但我收到这个错误,我不知道如何解决它,也无法在线找到

selinux.c:37:23: error: libaudit.h: No such file or directory
selinux.c: In function ‘log_callback’:
selinux.c:138: warning: implicit declaration of function ‘audit_log_user_avc_message’
selinux.c:138: error: ‘AUDIT_USER_AVC’ undeclared (first use in this function)
selinux.c:138: error: (Each undeclared identifier is reported only once
selinux.c:138: error: for each function it appears in.)
selinux.c: In function ‘audit_init’:
selinux.c:152: warning: implicit declaration of function ‘audit_open’
make[2]: *** [/home/me/glibc_install/glibc-2.14/build/nscd/selinux.o] Error 1
make[2]: Leaving directory `/local/home/me/glibc_install/glibc-2.14/nscd'
make[1]: *** [nscd/others] Error 2
make[1]: Leaving directory `/local/home/me/glibc_install/glibc-2.14'
make: *** [all] Error 2
linux centos upgrade glibc
1个回答
0
投票

--without-selinux附加到configure命令或安装SELinux和libaudit的-dev包以供您分发。

不过,您应该安装较新版本的glibc。在新系统上安装旧版本很危险。

© www.soinside.com 2019 - 2024. All rights reserved.