Re: undefined symbol: PyUnicodeUCS4*



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>

.



Relevant Pages

  • Re: Newbie needs to see a large project
    ... >> I have been checking Python recently and have presented what little I ... > looking at building database-backed transactional web apps. ... and haven't built sophisticated database apps. ... maintenance/bug-fixing costs, transfer-of-ownership costs, etc.). ...
    (comp.lang.python)
  • Re: Newbie needs to see a large project
    ... >> I have been checking Python recently and have presented what little I ... > looking at building database-backed transactional web apps. ... and haven't built sophisticated database apps. ... maintenance/bug-fixing costs, transfer-of-ownership costs, etc.). ...
    (comp.lang.python)
  • Re: undefined symbol: PyUnicodeUCS4*
    ... > I'm running Fedora Core 3, and recently I've encountered serious problems ... all apps dont produce same error but similar errors. ... 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 ...
    (comp.lang.python)
  • Re: Frameworks for "Non-Content Oriented Web Apps"
    ... >There are great Python Web Application Framework. ... >meant for content oriented web apps. ... While developing a school information system, ...
    (comp.lang.python)
  • Mega Newbie Questions: Probably FAQs
    ... I'm pretty well of a mind to pick up Python. ... I know there are apps that can convert to Linux or Windows as stand-alone executables, is there also one that will permit me to convert to MacOSX? ... There are a lot of books and tutorials out there, but they are of the proof-of-concept type. ... Specifically, a tutorial might teach me Hello World, but not really care about the framework, because it's a very simple item, and the point is simply to get me coding. ...
    (comp.lang.python)