zhancat200801 发表于 2016-08-13 15:01

编译安装keepalived过程中报错,百度了一下无解,求助高人

编译安装keepalived的过程中报错,过程如下:

wget http://www.keepalived.org/software/keepalived-1.2.20.tar.gz
tar zvxf keepalived-1.2.20.tar.gz
cd keepalived-1.2.20
./configure --prefix=/usr/local/keepalived

报错:
(之前一切正常,下面红色部分为报错)
checking for unistd.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking linux/netfilter/x_tables.h usability... yes
checking linux/netfilter/x_tables.h presence... yes
checking for linux/netfilter/x_tables.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking whether ETHERTYPE_IPV6 is declared... yes
checking for crypt in -lcrypt... yes
checking for MD5_Init in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
checking for nl_socket_alloc in -lnl-3... yes
checking for genl_connect in -lnl-genl-3... yes
checking for nl_rtgen_request in -lnl-route-3... yes
checking libnfnetlink/libnfnetlink.h usability... no
checking libnfnetlink/libnfnetlink.h presence... no
checking for libnfnetlink/libnfnetlink.h... no
configure: error:
    !!! Please install libnfnetlink headers.

求助百度,没有搜到任何结果。哪位高人遇到过此问题,请问该如何解决?谢谢!

zhancat200801 发表于 2016-08-13 18:07

问题已经解决。解决办法:
yum install -y libnfnetlink-devel

windcanyon 发表于 2017-03-22 21:46

我今天下午编译1.3.4的时候也遇到了,不过我没有yum源,还是用回到1.2.9了。。。
页: [1]
查看完整版本: 编译安装keepalived过程中报错,百度了一下无解,求助高人