You are not logged in.

#1 2011-08-19 02:14:36

mrmylanman
Member
From: Altamonte Springs, FL, USA
Registered: 2011-03-13
Posts: 178

Issue with boost-libs and PythonMagick

I am attempting to write a script in Python, and when I try to import PythonMagick, I get the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.2/site-packages/PythonMagick/__init__.py", line 1, in <module>
    import _PythonMagick
ImportError: /usr/lib/libboost_python.so.1.47.0: undefined symbol: PyClass_Type

I saw a bug from several months ago here:

https://bugs.archlinux.org/task/22800

It seems to reference a similar issue, however with the age, it seems like the problem in that bug should be fixed by now, so I'm not sure if it's something different or not.

Is there something I can do to fix this or am I SOL?  I am trying to keep it python3, rather than python2.


Arch user since 2011-03-13

Thinkpad X220 Intel Core i7-2640M CPU, 16GB DDR3-1333 RAM, 160GB Intel SATA II SSD & 60GB OCZ mSATA SSD, 12.5" IPS 1366x768 Display, 6-cell Battery
(Installation date:  2012-03-19)

Offline

#2 2011-08-20 02:26:33

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Issue with boost-libs and PythonMagick

Maybe the bindings wasn't rebuilt against the recent python update?
Check if you have the latest boost-libs package (check against archlinux.org/packages), if you do, try rebuilding them. If it works, post a bug report on it.

Last edited by Mr.Elendig (2011-08-20 02:27:35)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB