Nginx编译报错./configure: error: SSL modules require the OpenSSL library. 解决办法
生活随笔
收集整理的這篇文章主要介紹了
Nginx编译报错./configure: error: SSL modules require the OpenSSL library. 解决办法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
提示如下:
./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
重新編譯,問題解決。
總結
以上是生活随笔為你收集整理的Nginx编译报错./configure: error: SSL modules require the OpenSSL library. 解决办法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 科学家研发出新型锂离子电池 切割撞击点燃
- 下一篇: 什么是CRUD? CRUD的操作