undefined symbol: PyUnicodeUCS4_FromUnicode

Bill Hodges hodges7 at cox.net
Wed Aug 18 22:14:17 EDT 2004


Martin,
Your diagnosis was correct.
When I removed the python stuff in /usr
and rebuilt everything in /usr/local
I finally got DRT to run.

Thank you.

Bill
Martin v. Löwis wrote:
> 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