安装Keepalived namespaces.c:187: error: ‘SYS_setns’ undeclared (first use in this function)

错误信息

namespaces.c: In function ‘setns’:
namespaces.c:187: error: ‘SYS_setns’ undeclared (first use in this function)
namespaces.c:187: error: (Each undeclared identifier is reported only once
namespaces.c:187: error: for each function it appears in.)
make[2]: *** [namespaces.o] Error 1
make[2]: Leaving directory `/usr/local/soft/kit/keepalived-1.3.4/keepalived/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/soft/kit/keepalived-1.3.4/keepalived'
make: *** [all-recursive] Error 1

解决方案:

yum update glib*
原文地址:https://www.cnblogs.com/arebirth/p/keepalivedinstallglib.html