Rhel

RHEL 7 上的 syslog-ng 配置因 OpenSSL 版本 0.9.8 依賴而失敗

  • August 26, 2018

從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重試。

引用自:https://unix.stackexchange.com/questions/463679