Nginx Build Problem and OpenSSL

labrocca

Verified User
Joined
Mar 12, 2006
Messages
151
Code:
objs/src/event/ngx_event_openssl.o: In function `ngx_ssl_check_host':
/usr/local/directadmin/custombuild/nginx-1.8.0/src/event/ngx_event_openssl.c:2945: undefined reference to `X509_check_host'
objs/src/http/modules/ngx_http_ssl_module.o: In function `ngx_http_ssl_merge_srv_conf':
/usr/local/directadmin/custombuild/nginx-1.8.0/src/http/modules/ngx_http_ssl_module.c:650: undefined reference to `SSL_CTX_set_alpn_select_cb'

I'm on FreeBSD 10.1 with Nginx_Apache. I suppose at some point I upgrade OpenSSL to 1.0.2_4 and now Nginx won't build.

Any suggestions? Already spent 3 hours on the web looking for solutions and so far nothing.

Help is appreciated.
 
How did you upgrade your instance of OpenSSL? Did you use ports or a tarball?
 
I used pkg.

I tried to add to make.conf:

WITH_OPENSSL_PORT=yes


But no success. Really need to know how to fix this.
 
Back
Top