VPS侦探论坛

标题: 升级OPENSSL最新1.1.0失败 [打印本页]

作者: loren    时间: 2016-8-29 18:04
标题: 升级OPENSSL最新1.1.0失败
之前使用Nginx_Modules_Options='' ,引号中加上--with-openssl=/root/openssl-1.0.2h
完全没问题,但是新版本1.1.0,使用上述方法,报错,错误提示如下

src/event/ngx_event_openssl.c: In function ‘ngx_ssl_connection_error’:
src/event/ngx_event_openssl.c:2026:21: error: ‘SSL_R_NO_CIPHERS_PASSED’ undeclared (first use in this function)
             || n == SSL_R_NO_CIPHERS_PASSED                          /*  182 */
                     ^
src/event/ngx_event_openssl.c:2026:21: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1
make[1]: Leaving directory `/root/lnmp1.3-full/src/nginx-1.11.3'
make: *** [build] Error 2
mv: cannot stat ‘/usr/local/nginx/sbin/nginx’: No such file or directory
cp: cannot stat ‘objs/nginx’: No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
/usr/local/nginx/sbin/nginx -t
make: /usr/local/nginx/sbin/nginx: Command not found
make: *** [upgrade] Error 127
======== upgrade nginx completed ======
Program will display Nginx Version......
include/upgrade_nginx.sh: line 65: /usr/local/nginx/sbin/nginx: No such file or directory
[root@li721-247 lnmp1.3-full]#
作者: licess    时间: 2016-8-29 19:10
nginx的bug,nginx 1.11.3上还没修复,要不就自己改代码 http://hg.nginx.org/nginx/rev/1891b2892b68,要不就等新的nginx发布
作者: andyma    时间: 2016-9-20 08:57
标题: 回复 2# 的帖子
军哥,
  nginx发布新版本了,不知道是否有修复这个问题呢?
作者: licess    时间: 2016-9-20 10:28
标题: 回复 3# 的帖子
已修复




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4