undefined symbol: PyUnicodeUCS4_FromUnicode

"Martin v. Löwis" martin at v.loewis.de
Mon Aug 16 01:57:34 EDT 2004


Bill Hodges wrote:
> Your dianosis is correct.
> I compiled tcl to include UCS4 and
> Python then compiled to UCS4
> (nm revealed the difference).

Are you sure about that? Are you absolutely certain that
the installed Python (/usr/local/bin/python2.3) is UCS-4?
It appears to me that it is likely UCS-2.

> PyQt compiled fine, However, it
> still errors out the same way.
> For some reason PyQt needs to be told to
> include the UCS4 stuff in qt.so na d
> I cannot find the key.

Do you happen to have Python header files both in /usr/include
and /usr/local/include? Make sure PyQt is using the ones in
/usr/local/include, if you plan to use PyQt with that Python
installation.

Regards,
Martin



More information about the Python-list mailing list