I am trying to install Python 3.10 with SSL in BeagleBone Black (Debian GNU/Linux 9, Debian Image 2018-10-07), Below are the steps used,

  1. Downloaded latest openssl code from github () and placed in /media/usb-drive/opensslsrc/ location
  2. configure command: debian@beaglebone:/media/usb-drive/pythonsrc/Python-3.10.4$ sudo ./configure -C --with-openssl=/media/usb-drive/opensslsrc/openssl --enable-optimizations. Configure script completes without any error.
  3. Make command: sudo make

Error displayed

In file included from ./Modules/_ssl.c:390:0: ./Modules/_ssl/debughelpers.c: In function ‘_PySSLContext_set_keylog_filename’: ./Modules/_ssl/debughelpers.c:180:5: error: implicit declaration of function ‘SSL_CTX_set_keylog_callback’ [-Werror=implicit-function-declaration] SSL_CTX_set_keylog_callback(self->ctx, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modules/_ssl.c: In function ‘_ssl__SSLSocket_write_impl’: ./Modules/_ssl.c:2361:18: error: implicit declaration of function ‘SSL_write_ex’ [-Werror=implicit-function-declaration] retval = SSL_write_ex(self->ssl, b->buf, (size_t)b->len, &count); ^~~~~~~~~~~~ ./Modules/_ssl.c: In function ‘_ssl__SSLSocket_read_impl’: ./Modules/_ssl.c:2513:18: error: implicit declaration of function ‘SSL_read_ex’ [-Werror=implicit-function-declaration] retval = SSL_read_ex(self->ssl, mem, (size_t)len, &count); ^~~~~~~~~~~ ./Modules/_ssl.c: In function ‘set_options’: ./Modules/_ssl.c:3602:49: error: ‘SSL_OP_NO_TLSv1_3’ undeclared (first use in this function) SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2 | SSL_OP_NO_TLSv1_3 ^~~~~~~~~~~~~~~~~ ./Modules/_ssl.c:3602:49: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors Makefile:2097: recipe for target 'Modules/_ssl.o' failed make[2]: *** [Modules/_ssl.o] Error 1 make[2]: Leaving directory '/media/usb-drive/pythonsrc/Python-3.10.4' Makefile:544: recipe for target 'profile-opt' failed make: *** [profile-opt] Error 2 I think the issue is "make" is not able to find the source file but not sure how to set the path to make properly. Any help would be highly apprecieted. [1]: [2]: 
1

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy