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?

** Changed in: python-lzma (Ubuntu)
   Importance: Undecided => Medium

** Changed in: python-lzma (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: python-lzma (Ubuntu)
     Assignee: (unassigned) => Stefano Rivera (stefanor)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/594919

Title:
  test failed on PylibLZMA

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to