1.7.9 does not compile anymore with libressl

Lukas Tribus luky-37 at hotmail.com
Mon Dec 29 08:32:45 UTC 2014


> I am trying to compile nginx 1.7.9 with libressl 2.1.2 the same way I did
> with 1.7.7 but get the following error:
>
> src/http/ngx_http_request.c: In function ‘ngx_http_ssl_handshake_handler’:
> src/http/ngx_http_request.c:775:9: error: implicit declaration of function
> ‘SSL_get0_alpn_selected’ [-Werror=implicit-function-declaration]
> cc1: all warnings being treated as errors
> make[1]: *** [objs/src/http/ngx_http_request.o] Error 1
> make[1]: Leaving directory `/usr/src/nginx-1.7.9'
> make: *** [build] Error 2

Wait for the next libressl release or patch libressl by removing the
TLSEXT_TYPE_application_layer_protocol_negotiation symbol definition:
http://pastebin.com/raw.php?i=ZQ5peJvL



Lukas

 		 	   		  


More information about the nginx mailing list