Got undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString on OpenSuSE 11.1

Alejandro Valdez alejandro.valdez at
Fri Sep 25 20:05:06 CEST 2009

Hello I sent this e-mail to the python-help list but I'm not sure if
that list is active... so I post it again here:

I'm trying to build Python 2.6.2 from the sources downloaded from the
python official site on OpenSuSE 11.1 (32 bit). After installation the
python command line interpreter seems to run ok, but when I try to
install setuptools I get:

user at linux-ba2a:~/tmp> bash setuptools-0.6c9-py2.6.egg
Traceback (most recent call last):
 File "<string>", line 1, in <module>
 File "/home/user/tmp/setuptools-0.6c9-py2.6.egg/setuptools/command/",
line 15, in <module>
 File "/home/user/tmp/setuptools-0.6c9-py2.6.egg/setuptools/",
line 1, in <module>
ImportError: /home/user/python/lib/python2.6/lib-dynload/
undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString

To compile Python I executed:

./configure --prefix=/home/user/python
./make install

The compile process seems to be ok, so I'm kind of clueless :-(

Any ideas?

More information about the Python-list mailing list