loren 发表于 2016-8-29 18:04:19

升级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: *** Error 1
make: Leaving directory `/root/lnmp1.3-full/src/nginx-1.11.3'
make: *** 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: *** 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
#

licess 发表于 2016-8-29 19:10:17

nginx的bug,nginx 1.11.3上还没修复,要不就自己改代码 http://hg.nginx.org/nginx/rev/1891b2892b68,要不就等新的nginx发布

andyma 发表于 2016-9-20 08:57:44

回复 2# 的帖子

军哥,
nginx发布新版本了,不知道是否有修复这个问题呢?

licess 发表于 2016-9-20 10:28:21

回复 3# 的帖子

已修复
页: [1]
查看完整版本: 升级OPENSSL最新1.1.0失败