Tuesday, February 16, 2010

[nslu2-linux] Python 2.5.5 vs 2.5.4 unicode problem

 

Hi,

I have recently upgraded python 2.5 on syno-x07 target.
Previous version was python25-2.5.4-2 new one is python25-2.5.5-1

I am also also using py25-openssl-0.10-1

All was running fine under python 2.5.4

Now I'm receiving an exception:
ImportError: /opt/lib/python2.5/site-packages/OpenSSL/crypto.so: undefined symbol: PyUnicodeUCS4_Decode

It seems that ipk python25-2.5.4-2 was compiled with UCS4
and new python25-2.5.5-1 with UCS2 (incompatible binaries as different unicode settings)

Would it be possible to fix it ?
Several solutions:
- rebuild python packages depending on Unicode settings
- rebuild python 2.5.5 with unicode forced to UC4
- force unicode mode for all python packages

Thanks for your help

__._,_.___
.

__,_._,___

No comments:

Post a Comment