./configure: error: SSL modules require the OpenSSL library.

转自:https://blog.csdn.net/testcs_dn/article/details/51461999

CentOS 6.5 下 安装 Tengine 执行配置命令

./configure 

时提示以下错误:

./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=<path> option.

解决方法:

执行以下命令:

[plain]  view plain  copy
  1. yum -y install openssl openssl-devel  
执行成功之后再执行

./configure

扫描二维码关注公众号,回复: 864149 查看本文章
[plain]  view plain  copy
  1. Configuration summary  
  2.   + using system PCRE library  
  3.   + using system OpenSSL library  
  4.   + md5: using OpenSSL library  
  5.   + sha1: using OpenSSL library  
  6.   + using system zlib library  
  7.   + jemalloc library is disabled  
  8.   
  9.   nginx path prefix: "/usr/local/nginx"  
  10.   nginx binary file: "/usr/local/nginx/sbin/nginx"  
  11.   nginx configuration prefix: "/usr/local/nginx/conf"  
  12.   nginx configuration file: "/usr/local/nginx/conf/nginx.conf"  
  13.   nginx pid file: "/usr/local/nginx/logs/nginx.pid"  
  14.   nginx error log file: "/usr/local/nginx/logs/error.log"  
  15.   nginx http access log file: "/usr/local/nginx/logs/access.log"  
  16.   nginx http client request body temporary files: "client_body_temp"  
  17.   nginx dso module path: "/usr/local/nginx/modules/"  
  18.   nginx http proxy temporary files: "proxy_temp"  
  19.   nginx http fastcgi temporary files: "fastcgi_temp"  
  20.   nginx http uwsgi temporary files: "uwsgi_temp"  
  21.   nginx http scgi temporary files: "scgi_temp"  

看到最后这样的输出,就是配置成功了。

相关文章:

CentOS 6.5 下 Tengine 安装记录

CentOS6.5下Nginx1.7.4安装记录


猜你喜欢

转载自blog.csdn.net/u013068789/article/details/80304174
今日推荐