CentOS Error checking for OpenSSL library … not found

Written by Yujin Boby

Edit in WordPress

When installing Nginx from source on a CentOS 7 server, I got the following error

checking for OpenSSL library ... not found
checking for OpenSSL library in /usr/local/ ... not found
checking for OpenSSL library in /usr/pkg/ ... not found
checking for OpenSSL library in /opt/local/ ... not found

To fix the error, install openssl-devel package with the command

yum install openssl-devel -y

Back to Errors