Ida Pro Linux: IdaPython with MySQLdb support

Here i am again. I succesfully compiled IdaPython 0.8.0 for Ida Pro 5.0 . I used 4.9 sdk version (yes, finally Ida SDK is compatible between versions, thanks Ilfak), but when i tried to use MySQLdb module (import MySQLdb) in a script inside Ida, i got the following error:
ImportError: /usr/lib/python2.4/site-packages/ undefined symbol: _Py_NoneStruct
But this error […]