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. Advertisements

  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. Advertisements

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:
    525
    Laszlo Nagy
    Jul 25, 2006
  2. Laszlo Nagy
    Replies:
    2
    Views:
    656
    Simon Forman
    Jul 25, 2006
  3. Replies:
    0
    Views:
    314
  4. Replies:
    1
    Views:
    368
    Noah Roberts
    Sep 5, 2006
  5. =?ISO-8859-1?Q?Markus_Sch=F6pflin?=

    cStringIO change in 2.4 vs 2.5. Regression?

    =?ISO-8859-1?Q?Markus_Sch=F6pflin?=, Jun 1, 2007, in forum: Python
    Replies:
    3
    Views:
    389
    =?ISO-8859-1?Q?Markus_Sch=F6pflin?=
    Jun 13, 2007
  6. Paul Rubin

    cStringIO unicode weirdness

    Paul Rubin, Jun 18, 2007, in forum: Python
    Replies:
    3
    Views:
    387
    Paul Rubin
    Jun 19, 2007
  7. Elmar Hinz
    Replies:
    0
    Views:
    439
    Elmar Hinz
    Aug 23, 2010
  8. Elmar Hinz
    Replies:
    0
    Views:
    422
    Elmar Hinz
    Aug 23, 2010
Loading...