undefined symbol: PyUnicodeUCS4_AsUTF8String

  • Thread starter =?ISO-8859-1?Q?Michael_Str=F6der?=
  • Start date
?

=?ISO-8859-1?Q?Michael_Str=F6der?=

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.
 
D

Diez B. Roggisch

Michael said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top