Tuesday, August 29, 2017

Python 2.7 && SSL build failure

Anybody else see this?

building '_ssl' extension
cc -pthread -fPIC -fno-strict-aliasing -OPT:Olimit=0 -O2 -pipe -DNDEBUG -O2 -pipe -fPIC -I. -IInclude -I./Include -I/usr/local/include -I/usr/ports/pobj/Python-2.7.13/Python-2.7.13/Include -I/usr/ports/pobj/Python-2.7.13/Python-2.7.13 -c /usr/ports/pobj/Python-2.7.13/Python-2.7.13/Modules/_ssl.c -o build/temp.openbsd-6.2-amd64-2.7/usr/ports/pobj/Python-2.7.13/Python-2.7.13/Modules/_ssl.o
/usr/ports/pobj/Python-2.7.13/Python-2.7.13/Modules/_ssl.c:1516:5: warning:
implicit declaration of function 'SSL_get0_next_proto_negotiated' is
invalid in C99 [-Wimplicit-function-declaration]
SSL_get0_next_proto_negotiated(self->ssl,
^
/usr/ports/pobj/Python-2.7.13/Python-2.7.13/Modules/_ssl.c:2334:5: warning:
implicit declaration of function 'SSL_CTX_set_next_protos_advertised_cb'
is invalid in C99 [-Wimplicit-function-declaration]
SSL_CTX_set_next_protos_advertised_cb(self->ctx,
^
/usr/ports/pobj/Python-2.7.13/Python-2.7.13/Modules/_ssl.c:2337:5: warning:
implicit declaration of function 'SSL_CTX_set_next_proto_select_cb' is
invalid in C99 [-Wimplicit-function-declaration]
SSL_CTX_set_next_proto_select_cb(self->ctx,
^
3 warnings generated.
cc -pthread -shared -fPIC -L/usr/ports/pobj/Python-2.7.13/Python-2.7.13 -L/usr/ports/pobj/Python-2.7.13/Python-2.7.13 -O2 -pipe build/temp.openbsd-6.2-amd64-2.7/usr/ports/pobj/Python-2.7.13/Python-2.7.13/Modules/_ssl.o -L/usr/local/lib/ -L/usr/local/lib -L. -lssl -lcrypto -lpython2.7 -o build/lib.openbsd-6.2-amd64-2.7/_ssl.so
python:build/lib.openbsd-6.2-amd64-2.7/_ssl.so: undefined symbol 'SSL_CTX_set_next_protos_advertised_cb'
python:build/lib.openbsd-6.2-amd64-2.7/_ssl.so: undefined symbol 'SSL_get0_next_proto_negotiated'
python:build/lib.openbsd-6.2-amd64-2.7/_ssl.so: undefined symbol 'SSL_CTX_set_next_proto_select_cb'
*** WARNING: renaming "_ssl" since importing it failed: Cannot load specified object

Ian McWilliam

No comments:

Post a Comment