469,643 Members | 1,486 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,643 developers. It's quick & easy.

undefined symbol: PyUnicodeUCS4_AsUTF8String

HI!

I have the following problem after system upgrade to SuSE Linux 9.3:

$ python -c "import cPickle"
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so: undefined
symbol: PyUnicodeUCS4_AsUTF8String

The Python 2.4.1 installation was built from source.

Anyone having a clue? Thanks in advance.

Ciao, Michael.
Jul 19 '05 #1
1 6197
Michael Ströder wrote:
HI!

I have the following problem after system upgrade to SuSE Linux 9.3:

$ python -c "import cPickle"
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so: undefined
symbol: PyUnicodeUCS4_AsUTF8String

The Python 2.4.1 installation was built from source.

Anyone having a clue? Thanks in advance.


Yes - unfortunately binary extensions have to be rebuilt if you chose a
different unicode representation - ucs4 instead of ucs2. Which you most
probably didn't do on purpose. So there are two options here:

- rebuilt python, with ucs2 as internal representation (configure option)
- rebuilt the extensions.
--
Regards,

Diez B. Roggisch
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by pervinder | last post: by
8 posts views Thread by Scott J. McCaughrin | last post: by
4 posts views Thread by Analabha Roy | last post: by
2 posts views Thread by el prinCipante | last post: by
8 posts views Thread by pavan734 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.