LNMP 编译错误 http_ssl_module
lnmp安装NGINX编译过程中,出现错误src/event/ngx_event_openssl.c:2432: undefined reference to `EVP_sha256'objs/src/event/ngx_event_openssl.o(.text+0x2ae6):src/event/ngx_event_openssl.c:2460: undefined reference to `EVP_sha256'objs/src/event/ngx_event_openssl.o(.text+0x2e5a): In function `ngx_ssl_get_server_name':src/event/ngx_event_openssl.c:2727: undefined reference to `SSL_get_servername'objs/src/event/ngx_event_openssl_stapling.o(.text+0x4f6): In function `ngx_ssl_stapling_responder':src/event/ngx_event_openssl_stapling.c:358: undefined reference to `X509_get1_ocsp'objs/src/http/ngx_http_request.o(.text+0xc64): In function `ngx_http_ssl_servername':src/http/ngx_http_request.c:826: undefined reference to `SSL_get_servername'objs/src/http/ngx_http_request.o(.text+0xd91):src/http/ngx_http_request.c:874: undefined reference to `SSL_set_SSL_CTX'objs/src/http/modules/ngx_http_ssl_module.o(.text+0x594): In function `ngx_http_ssl_merge_srv_conf':src/http/modules/ngx_http_ssl_module.c:642: undefined reference to `SSL_CTX_set_next_protos_advertised_cb'collect2: ld ·µ»Ø 1make: *** ´íÎó 1make: Leaving directory `/root/nginx-1.7.1'make: *** ´íÎó 2删除 http_ssl_module后正常 https://bbs.vpser.net/thread-10828-1-1.html 谢谢,已经按上述方法成功完成
页:
[1]