keepalived-2.0.15 编译安装报错

keepalived-2.0.15]# ./configure --prefix=/usr/local/keepalived
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config

.............................................

checking for inotify_init1... yes
checking for vsyslog... yes
checking for epoll_create1... yes
checking whether ETHERTYPE_IPV6 is declared... yes
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error:
!!! OpenSSL is not properly installed on your system. !!!
!!! Can not include OpenSSL headers files. !!!
[root@dsmysql11 keepalived-2.0.15]# make && make install
make: *** No targets specified and no makefile found. Stop.

解决办法:

yum install openssl

yum install openssl-devel

重新编译安装

./configure --prefix=/usr/local/keepalived

make && make install

posted @ 2019-07-01 15:25  刘启武  阅读(633)  评论(0编辑  收藏  举报