8000 OpenSSL provides required ssl module APIs... no · Issue #57 · codrsquad/portable-python · GitHub
[go: up one dir, main page]

Skip to content
OpenSSL provides required ssl module APIs... no #57
Closed
@solvingj

Description

@solvingj

Ubuntu 18.0.4
uname -m: aarch64
Running in docker on M1 mac

portable-python v1.9.6
building 3.12.3

portable-python.yaml

linux:
  allowed-system-libs: /lib/.*
  cpython-modules: openssl

Openssl seems to build fine

install libcrypto.a -> /home/root/build/deps/lib/libcrypto.a
install libssl.a -> /home/root/build/deps/lib/libssl.a
created directory `/home/root/build/deps/lib/pkgconfig'
install libcrypto.pc -> /home/root/build/deps/lib/pkgconfig/libcrypto.pc
install libssl.pc -> /home/root/build/deps/lib/pkgconfig/libssl.pc
install openssl.pc -> /home/root/build/deps/lib/pkgconfig/openssl.pc
"/usr/bin/make" depend && "/usr/bin/make" _build_modules
make[1]: Entering directory '/home/root/build/components/openssl'
make[1]: Leaving directory '/home/root/build/components/openssl'
make[1]: Entering directory '/home/root/build/components/openssl'
make[1]: Nothing to be done for '_build_modules'.
make[1]: Leaving directory '/home/root/build/components/openssl'
created directory `/home/root/build/deps/lib/engines-3'
*** Installing engines
created directory `/home/root/build/deps/lib/ossl-modules'
*** Installing modules
install providers/legacy.so -> /home/root/build/deps/lib/ossl-modules/legacy.so
"/usr/bin/make" depend && "/usr/bin/make" _build_programs
make[1]: Entering directory '/home/root/build/components/openssl'
make[1]: Leaving directory '/home/root/build/components/openssl'
make[1]: Entering directory '/home/root/build/components/openssl'
make[1]: Nothing to be done for '_build_programs'.
make[1]: Leaving directory '/home/root/build/components/openssl'
created directory `/home/root/build/deps/bin'
*** Installing runtime programs
install apps/openssl -> /home/root/build/deps/bin/openssl
install tools/c_rehash -> /home/root/build/deps/bin/c_rehash
INFO Compiling openssl took 1 minute 41 seconds

And it finds the headers but the not the libs, or the libs are incompatible?

checking for include/openssl/ssl.h in /home/root/build/deps... yes
checking whether compiling and linking against OpenSSL works... yes
checking for --with-openssl-rpath... 
checking whether OpenSSL provides required ssl module APIs... no
checking whether OpenSSL provides required hashlib module APIs... no

Leading to no SSL support

The necessary bits to build these optional modules were not found:
_curses               _curses_panel         _dbm               
_gdbm                 _hashlib              _ssl               
_tkinter              readline                                 
To find the necessary bits, look in configure.ac and config.log.

Could not build the ssl module!
Python requires a OpenSSL 1.1.1 or newer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0