Import of cStringIO failing with "undefined symbol: PyObject_SelfIter" on python-2.3.3-88.9

grbgooglefan ganeshborse at gmail.com
Thu Jan 31 05:44:25 EST 2008


On Jan 10, 6:07 pm, grbgooglefan <ganeshbo... at gmail.com> wrote:
> I am importing cStringIO module in my PythonC++ embedded program.
>
> The import is failing with the following error:
> ImportError: /usr/lib/python2.3/lib-dynload/cStringIO.so: undefined
> symbol:PyObject_SelfIter
>
> I have python-2.3.3-88.9.x86 installed on my machine.
> Why is this error coming? how can I resolve this undefined symbol?
> Do I need to import anything before this?

Workaround to avoid this problem is in another post named
"PyImport_ImportModule("cStringIO") failure with undefined symbol
Options".



More information about the Python-list mailing list