带有Openssl 1.0.2d的Nginx 1.9.3问题ngx_event_openssl.c:2945:对'X509_check_host'的未定义引用

我们最近更新了我们的openssl到1.0.2d,并尝试编译nginx 1.9.2或1.9.3,但我们得到他下面的错误:

-lpthread -lcrypt /home/deploy/.rvm/gems/ruby-2.0.0-p645/gems/passenger-5.0.14/buildout/common/libpassenger_common/Logging.o /home/deploy/.rvm/gems/ruby -2.0.0-p645 / gems / passenger-5.0.14 / buildout / common / libpassenger_common / Exceptions.o /home/deploy/.rvm/gems/ruby-2.0.0-p645/gems/passenger-5.0.14/ buildout / common / libpassenger_common / Utils / SystemTime.o /home/deploy/.rvm/gems/ruby-2.0.0-p645/gems/passenger-5.0.14/buildout/common/libpassenger_common/Utils/StrIntUtils.o / home /deploy/.rvm/gems/ruby-2.0.0-p645/gems/passenger-5.0.14/buildout/common/libpassenger_common/Utils/StrIntUtilsNoStrictAliasing.o /home/deploy/.rvm/gems/ruby-2.0.0 -p645 / gems / passenger-5.0.14 / buildout / common / libpassenger_common / Utils / IOUtils.o /home/deploy/.rvm/gems/ruby-2.0.0-p645/gems/passenger-5.0.14/buildout/ common / libpassenger_common / Utils.o /home/deploy/.rvm/gems/ruby-2.0.0-p645/gems/passenger-5.0.14/buildout/common/libpassenger_common/AgentsStarter.o /home/deploy/.rvm/gem/ruby2.0.0-P645 /gem/乘客-5.0.14 / buildou t / common / libpassenger_common / ApplicationPool2 / AppTypes.o /home/deploy/.rvm/gems/ruby-2.0.0-p645/gems/passenger-5.0.14/buildout/common/libpassenger_common/Utils/CachedFileStat.o / home /deploy/.rvm/gems/ruby-2.0.0-p645/gems/passenger-5.0.14/buildout/common/libpassenger_common/agent/UstRouter/FilterSupport.o /home/deploy/.rvm/gems/ruby-2.0 .0-p645 / gems / passenger-5.0.14 / buildout / common / libboost_oxt.a -lstdc ++ -lpthread -lm -lrt /tmp/passenger.1h1qwc2/pcre-8.34/.libs/libpcre.a -lssl -lcrypto – ldl -lz objs / src / event / ngx_event_openssl.o:在函数ngx_ssl_check_host': /home/deploy/source/nginx-1.9.3/src/event/ngx_event_openssl.c:2945: undefined reference to X509_check_host'objs / src / http / modules / ngx_http_ssl_module.o:在函数中: ngx_http_ssl_merge_srv_conf': /home/deploy/source/nginx-1.9.3/src/http/modules/ngx_http_ssl_module.c:650: undefined reference to / ngx_http_ssl_merge_srv_conf': /home/deploy/source/nginx-1.9.3/src/http/modules/ngx_http_ssl_module.c:650: undefined reference to / ngx_http_ssl_merge_srv_conf': /home/deploy/source/nginx-1.9.3/src/http/modules/ngx_http_ssl_module.c:650: undefined reference to / ngx_http_ssl_merge_srv_conf': /home/deploy/source/nginx-1.9.3/src/http/modules/ngx_http_ssl_module.c:650: undefined reference to / ngx_http_ssl_merge_srv_conf': /home/deploy/source/nginx-1.9.3/src/http/modules/ngx_http_ssl_module.c:650: undefined reference to /http/modules/ngx_http_ssl_module.c: ngx_http_ssl_merge_srv_conf': /home/deploy/source/nginx-1.9.3/src/http/modules/ngx_http_ssl_module.c:650: undefined reference to SSL_CTX_set_alpn_select_cb'collect2:ld返回1退出状态make [1]: * [objs / nginx]错误1 make [1]:离开目录`/ home / deploy / s ource / nginx-1.9.3'make:* [build]错误2

有人可以帮助一个可能的解决scheme?

谢谢