When I try to run a C program that calls a Python function, I am getting this error:
ImportError: /usr/local/depot/python-2.5.1/lib/python2.5/lib-dynload/math.so: undefined symbol: PyExc_OverflowError
Please help me resolve this.
When I try to run a C program that calls a Python function, I am getting this error:
ImportError: /usr/local/depot/python-2.5.1/lib/python2.5/lib-dynload/math.so: undefined symbol: PyExc_OverflowError
Please help me resolve this.
Try this perhaps http://docs.python.org/extending/embedding.html#linking-requirements
Otherwise, many people had the same problem, so check this here http://lmgtfy.com/?q=undefined+symbol%3A+PyExc_OverflowError
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.