安装Keepalived报错 OpenSSL is not properly installed on your system. !!!
安装Keepalived
报错
执行./configure --prefix=/usr/local/keepalived
提示
configure: error:
!!! OpenSSL is not properly installed on your system. !!!
!!! Can not include OpenSSL headers files. !!!
在线安装解决方法:
yum -y install openssl-devel
离线安装方法(重点)openssl-1.1.0j.tar.gz
名字一定要对应 下载地址https://www.openssl.org/source/old/
直接下载该版本:https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz
编译./config shared zlib
提醒需要在build之前做make depend
make depend
安装OpenSSL
make && make install
然后再次编译./configure --prefix=/usr/local/keepalived
就成功了