Error: OpenSSL library not found (or) SSL modules require the OpenSSL

November 26 2014

If you may getting an error when you have install or configure any packages as below,

checking for OpenSSL library ... not found

./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl= option.

Solution:

You want to install the development package, which is libssl-dev or
openssl-devel