Nginx编译报错./configure: error: SSL modules require the OpenSSL library. 解决办法 – 21运维
通知: .-...

Nginx编译报错./configure: error: SSL modules require the OpenSSL library. 解决办法

linux 21运维 29475浏览 0评论
./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

原因是编译支持https但缺少OpenSSL库文件。
解决办法:

yum install openssl openssl-devel   -y 

重新编译,问题解决。

转载请注明:21运维 » Nginx编译报错./configure: error: SSL modules require the OpenSSL library. 解决办法

发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

网友最新评论 (1)

  1. 很好的博客。
    BestEssay.com评论2017-01-23 21:00 回复