build with prefix point to a arbitrary path, can't find the dynamic lib, and libffi upstream bug: ./configure --prefix=xxx --enable-shared --enable-ipv6 --with-threads CC=clang
Leon, Are you trying to run compiled python binary before it was installed? If so, this is expected and not specific to clang or libffi. If your issue is something else - please explain how to reproduce it and post the error messages that you see.
As of Python 3.7, Python source releases no longer "vendor" the source of libffi for Linux platforms; you need to use either a system-supplied libffi or, if really necessary, build and link with your own copy (not always easy to do). As the supplied patch modifies the now-defunct vendored libffi source, this issue is no longer relevant for current Pythons.
History
Date
User
Action
Args
2022-04-11 14:57:44
admin
set
github: 62048
2020-05-08 02:11:29
ned.deily
set
status: open -> closednosy: + ned.deilymessages: + resolution: out of datestage: resolved