linux: undefined symbol: PyUnicodeUCS2_FromEncodedObject


29-01-2008 04:24:32


I had these problems trying to run the python demos on open suse.
This is with a python2.5 I compiled from source.

Any ideas?

rsd@:~/development/python-ogre/demos/ogre> python Traceback (most recent call last):
File "", line 15, in <module>
import ogre.renderer.OGRE as ogre
File "/home/rsd/development/root/usr/lib/python2.5/site-packages/ogre/renderer/OGRE/", line 10, in <module>
from _ogre_ import *
ImportError: /home/rsd/development/root/usr/lib/ undefined symbol: PyUnicodeUCS2_FromEncodedObject


02-02-2008 06:27:39

I think that if you compiled python using —enable-unicode=ucs4, existing python libraries compiled beforehand will not work.

Are you using any prebuilt binaries? Maybe you can try recompiling libboost-python?

Hope you get everything running