[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

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

grbgooglefan

1/10/2008 10:08:00 AM

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?
1 Answer

grbgooglefan

1/31/2008 10:44:00 AM

0

On Jan 10, 6:07 pm, grbgooglefan <ganeshbo...@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".