configure: error: SELinux selected but libselinux not found

Posted 柳鲲鹏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了configure: error: SELinux selected but libselinux not found相关的知识,希望对你有一定的参考价值。

具体错误:

checking for getprevcon in -lselinux... no
configure: error: SELinux selected but libselinux not found

解决办法:

sudo apt install -y libselinux1 libselinux1-dev

以上是关于configure: error: SELinux selected but libselinux not found的主要内容,如果未能解决你的问题,请参考以下文章

Error starting daemon: SELinux is not supported

CentOS7 docker报错 /usr/bin/docker-current: Error response from daemon: oci runtime error(需要禁用SELinux)

CentOS7 docker报错 /usr/bin/docker-current: Error response from daemon: oci runtime error(需要禁用SELinux)

configure: error: gperf is needed

checking ImageMagick MagickWand API configuration program... configure: error:

linux driver error ------ ERROR: Kernel configuration is invalid