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

pgndev pgnet.dev at gmail.com
Thu Aug 11 15:51:40 UTC 2016


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



More information about the nginx-devel mailing list