版权声明:本文为博主原创文章,遵循 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
最新推荐文章于 2024-11-07 12:25:24 发布
本文详细介绍了在配置Nginx时遇到的关于SSL和HTTP rewrite模块的问题及其解决方案。针对缺少OpenSSL和PCRE库的情况,提供了具体的安装命令,帮助读者顺利启用相关Nginx模块。
1万+

被折叠的 条评论
为什么被折叠?



