undefined symbol: PyUnicodeUCS4*

Analabha Roy daneelNOSPAM at physics.utexas.edu
Tue Sep 20 04:41:06 EDT 2005


Fredrik Lundh wrote:

> Analabha Roy wrote:
> 
>> I did not build python from source at all, but installed it from rpm
>> (python-2.3.4-13.1) downloaded from fc3 repositories.
> 
> the problem isn't with the python interpreter, it's that you're using
> add-on libraries that don't match your interpreter installation.
> 
> where did you get the RHPL library, for example?
> 
>    ImportError: /usr/lib/python2.3/site-packages/rhpl/iconv.so:
>    undefined symbol: PyUnicodeUCS4_AsUTF8String
> 


Oh, ok. Everything in my system is installed from rpms from apt repos for
Fedora Core 3. For instance

$rpm -qa|grep rhpl

rhpl-0.148.1-2

 Which I got from one of the repos in my /etc/apt/sources.list file



 For some reason, FC-3 installed both python2.3 and python2.4. It could be
that the addon libraries are for python2.4, but are configged to use
python2.3 interpreter or something (you'll have to excuse my ignorance
about such matters, I've not learned python). 
I uninstalled python2.4 completely, and rpm uninstalled some python bindings
for other things as dependencies. Presumably, the rpm deps left 
(PyQT, pygtk, rhpl etc)
should contain those 'add-on' libraries you mentioned (I dunno though) and
they depend on the python2.3 rpm (still installed). However, the same
problems above remain. Unless the packages are broken, what else could be
wrong?



> (iirc, RHPL is the RedHat Python Library)
> 
> </F>




More information about the Python-list mailing list