Here's the issue: PYTHONPATH=build/lib.linux-x86_64-2.7 python2.7 -c 'import lzma' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: /tmp/buildd/python-lzma-0.5.3/build/lib.linux-x86_64-2.7/lzma.so: undefined symbol: PyOS_mystricmp
src/liblzma.h includes Python.h, so I assume it wants to be linked to libpython?
Here's a patch, linking the extension with libpythonXX. I assume it's the correct thing to do?
Here's the issue: build/lib. linux-x86_ 64-2.7 python2.7 -c 'import lzma' python- lzma-0. 5.3/build/ lib.linux- x86_64- 2.7/lzma. so: undefined symbol: PyOS_mystricmp
PYTHONPATH=
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: /tmp/buildd/
src/liblzma.h includes Python.h, so I assume it wants to be linked to libpython?
Here's a patch, linking the extension with libpythonXX. I assume it's the correct thing to do?