Welcome! Log In Create A New Profile

Advanced

nginx 1.11.3 build, linking openssl 1.1.0 (beta/pre-6) fails @ ‘SSL_R_NO_CIPHERS_PASSED’

pgndev
August 11, 2016 12:02PM
I'm testing soon-to-be-released (Aug 25) openssl 1.1 beta

openssl version
OpenSSL 1.1.0-pre6 (beta) 4 Aug 2016

After an openssl re-build, nginx restart fails

Aug 11 08:22:29 dev.loc nginx[23758]: /usr/local/sbin/nginx:
symbol lookup error: /usr/local/sbin/nginx: undefined symbol:
SSL_CTX_set_alpn_select_cb

Rebuild of nginx 1.11.3 from source, linking openssl 1.1.0-pre6' libs, fails at

...
/usr/bin/gcc-6 -c -O3 -Wall -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -fmessage-length=0 -grecord-gcc-switches
-march=native -mtune=native -fPIC -DPIC -D_GNU_SOURCE
-fno-strict-aliasing -Wall -fexceptions --param=ssp-buffer-size=4
-I/usr/local/ssl/include -I/usr/local/include -I src/core -I
src/event -I src/event/modules -I src/os/unix -I src/http/modules/perl
-I /usr/local/src/ngx_devel_kit/objs -I objs/addon/ndk -I
/usr/local/src/ngx_devel_kit/src -I /usr/local/src/ngx_devel_kit/objs
-I objs/addon/ndk -I objs -I src/http -I src/http/modules -I
src/http/v2 -I /usr/local/src/ngx_devel_kit/src \
-o objs/src/http/ngx_http_core_module.o \
src/http/ngx_http_core_module.c
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
objs/Makefile:912: recipe for target
'objs/src/event/ngx_event_openssl.o' failed
make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1
make[1]: Leaving directory '/usr/local/src/nginx-1.11.3'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2

Just fyi 4 now

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

nginx 1.11.3 build, linking openssl 1.1.0 (beta/pre-6) fails @ ‘SSL_R_NO_CIPHERS_PASSED’

pgndev 2599 August 11, 2016 12:02PM

Re: nginx 1.11.3 build, linking openssl 1.1.0 (beta/pre-6) fails @ ‘SSL_R_NO_CIPHERS_PASSED’

Valentin V. Bartenev 704 August 11, 2016 12:34PM

Re: nginx 1.11.3 build, linking openssl 1.1.0 (beta/pre-6) fails @ ‘SSL_R_NO_CIPHERS_PASSED’

PGNet Dev 575 August 11, 2016 12:54PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready