This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author slink
Recipients Dandan Lee, Mr. Pligin, THRlWiTi, bkline, bryanf, cstratak, dgspahn, dstufft, malin, martin.panter, ncoghlan, prabs003, slink, zach.ware
Date 2019-04-18.14:49:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555598962.74.0.955355461764.issue31652@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-04-18 14:49:22slinksetrecipients: + slink, ncoghlan, bkline, THRlWiTi, martin.panter, zach.ware, dstufft, malin, cstratak, Dandan Lee, bryanf, dgspahn, prabs003, Mr. Pligin
2019-04-18 14:49:22slinksetmessageid: <1555598962.74.0.955355461764.issue31652@roundup.psfhosted.org>
2019-04-18 14:49:22slinklinkissue31652 messages
2019-04-18 14:49:22slinkcreate