Hi all
First, apologies for the partial post, I accidently hit the send key combo in Gmail. I am trying to debug a CFFI-wrapped extension with Valgrind and have compiled Python accordingly (--without-pymalloc --with-pydebug --with-valgrind --enable-shared).
I now have a functional interpreter with Valgrind, however I get this error:
python -c "import cffi;cffi.FFI()"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/sebastien/.local/lib/python2.7/site-packages/cffi/api.py", line 56, in __init__
import _cffi_backend as backend
ImportError: /home/sebastien/.local/lib/python2.7/site-packages/_cffi_backend.so: undefined symbol: Py_InitModule4_64
[51074 refs]
This might not be directly related to CFFI, but I was wondering if anyone had encountered the same problem and knows of a solution.
Thanks,
-- Sébastien