./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
PCRE库已经安装,可是./configure nginx的时候仍然出现以上的错误,通过指定PCRE库的路径可以解决
./configure --user=user --group=user --with-http_stub_status_module --with-http_ssl_module --with-zlib=/usr/local/src/zlib-1.2.7 --with-openssl=/usr/local/openssl
版权声明:本文为xtm_rongbing原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。