OpenSSL missing during ./configure. How to fix? my system is macos

by gang wang   Last Updated September 12, 2019 04:01 AM

checking for PCRE library ... found
checking for PCRE JIT support ... found
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
./configure: error: SSL modules require the OpenSSL library.You can either do not enable the modules, or install the OpenSSL libraryinto the system, or build the OpenSSL library statically from the sourcewith nginx by using --with-openssl= option.ERROR: failed to run command: sh ./configure --prefix=/usr/local/openresty/nginx ...

anyone can help me!!! SOS

Tags : linux


Answers 1


Download and compile OpenSSL:

cd /usr/local/src
curl --remote-name https://www.openssl.org/source/openssl-1.1.1d.tar.gz
tar -xzvf openssl-1.1.1d.tar.gz
cd openssl-1.1.1d.tar.gz
./config --prefix=/usr/local/openssl/openssl-1.1.1d.tar.gz
make
make install

Verify:

openssl version -a

This should get you started to compile OpenSSL yourself. Afterwards, configure should find the installation and use it.

TuxStash.de
TuxStash.de
September 12, 2019 03:10 AM

Related Questions


Opened File Accessor for linux

Updated May 28, 2019 10:01 AM




Cant connect to access point from my phone

Updated September 08, 2018 17:01 PM