[issue44556] ctypes unittest crashes with libffi 3.4.2

Eli Rykoff report at bugs.python.org
Fri Nov 19 18:23:06 EST 2021


Eli Rykoff <erykoff at stanford.edu> added the comment:

To add a bit more color, I don't think you can explicitly set LIBFFI_INCLUDE_DIR, it's set by the configure script explicitly.  The problem is that some time between python 3.9 and 3.10 the configure script has (at least in our system) failed to figure out the $PKG_CONFIG variable correctly.  It should be set to the executable with the full path name, as is done with 3.9, but now it is set to just the executable name.  When that happens the library location check fails.

----------
nosy: +erykoff

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44556>
_______________________________________


More information about the Python-bugs-list mailing list