Nils Goroll <sl...@schokola.de> added the comment:

In case this helps: I noticed this during the build:


*** WARNING: renaming "_ssl" since importing it failed: ld.so.1: python: fatal: 
libssl.so.1.1: open failed: No such file or directory
*** WARNING: renaming "_hashlib" since importing it failed: ld.so.1: python: 
fatal: libssl.so.1.1: open failed: No such file or directory
*** WARNING: renaming "_ctypes" since importing it failed: ld.so.1: python: 
fatal: libffi.so.6: open failed: No such file or directory

...

Following modules built successfully but were removed because they could not be 
imported:
_ctypes               _hashlib              _ssl               

In my case the reason was that libffi was installed under /opt/local, so the 
fix was:


./configure LDFLAGS='-L/opt/local/lib -R/opt/local/lib'

and rebuild

For other users I would recommend to inspect the build output for _ctypes 
related errors, I am not saying that the cause is the same

----------
nosy: +slink

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31652>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to