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

Discussion in 'Python' started by grbgooglefan, Jan 10, 2008.

  1. grbgooglefan

    grbgooglefan Guest

    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?
    grbgooglefan, Jan 10, 2008
    #1
    1. Advertising

  2. grbgooglefan

    grbgooglefan Guest

    On Jan 10, 6:07 pm, grbgooglefan <> 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".
    grbgooglefan, Jan 31, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Laszlo Nagy

    cStringIO.StringIO has no write method?

    Laszlo Nagy, Jul 25, 2006, in forum: Python
    Replies:
    3
    Views:
    429
    Laszlo Nagy
    Jul 25, 2006
  2. Steve Holden
    Replies:
    0
    Views:
    613
    Steve Holden
    Jul 25, 2006
  3. Laszlo Nagy
    Replies:
    2
    Views:
    560
    Simon Forman
    Jul 25, 2006
  4. Elmar Hinz
    Replies:
    0
    Views:
    327
    Elmar Hinz
    Aug 23, 2010
  5. Elmar Hinz
    Replies:
    0
    Views:
    310
    Elmar Hinz
    Aug 23, 2010
Loading...

Share This Page