By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,454 Members | 1,804 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,454 IT Pros & Developers. It's quick & easy.

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

P: n/a
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?
Jan 10 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Jan 10, 6:07*pm, grbgooglefan <ganeshbo...@gmail.comwrote:
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".
Jan 31 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.