版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
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
error one:
./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=
解决:
apt -y install
openssl libssl-dev
error two:
./configure:
error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre=
解决:
apt -y install
libpcre3 libpcre3-dev
Ubuntu18.04编译安装nginx error
最新推荐文章于 2022-09-07 22:24:56 发布