Fredrik Lundh wrote: > Analabha Roy wrote: > >> I'm running Fedora Core 3, and recently I've encountered serious problems >> with apps that need python to run. >> >> running any such app gives errors like: >> >> ImportError: /usr/lib/python2.3/site-packages/rhpl/iconv.so: undefined >> symbol: PyUnicodeUCS4_AsUTF8String >> >> Well, all apps dont produce same error but similar errors. All undefined >> symbols start with PyUnicodeUCS4. >> What is wrong??? > > Python can be built with UCS2-based or UCS4-based Unicode support. > It looks like you're trying to use extensions built for a UCS4-based > version with an UCS2 build.
Thanks for your response. I did not build python from source at all, but installed it from rpm (python-2.3.4-13.1) downloaded from fc3 repositories. Is it necessary to build it from source? If so, should I download the tarball from their website or downlaod some kind of "python-devel" rpm? > > (I think, but I'm not sure, that installing extensions built for certain > Red Hat versions on FC3 may cause this problem) > > For instructions on how to build the core interpreter with Unicode > support, run "./configure --help" and look for the "--enable-unicode" > option. > > </F> -- http://mail.python.org/mailman/listinfo/python-list