从https://github.com/balabit/syslog-ng/releases构建最新的 syslog-ng(3.17.2,而不是 EPEL 中的打包版本,即 3.5.6,构建于 2015 年 12 月 30 日)
在 中./configure --prefix=/app/syslog-ng
,它给出了错误:
configure: error: Cannot find OpenSSL libraries with version >= 0.9.8 it is a hard dependency from syslog-ng 3.7 onwards
# yum install openssl
Loaded plugins: package_upload, product-id, search-disabled-repos, subscription-manager
.......
Package 1:openssl-1.0.2k-8.el7.x86_64 already installed and latest version
# openssl version
OpenSSL 1.0.2k-fips 26 Jan 2017
# rpm -qa|grep -i openssl
pyOpenSSL-0.13.1-3.el7.x86_64
openssl-libs-1.0.2k-8.el7.i686
openssl-1.0.2k-8.el7.x86_64
openssl-libs-1.0.2k-8.el7.x86_64
# cat /etc/system-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
#
如何解决此配置错误?
configure
正在寻找相关的 openssl 开发文件,但找不到。在您的 RHEL 7 系统上,实现此目的的最简单方法是yum install openssl-devel
重试。