Hello, I am really new to SWIG. I tried to compile the example given in SWIG but I get the following error: $ python Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import example Traceback (most recent call last): File "", line 1, in File "example.py", line 25, in _example = swig_import_helper() File "example.py", line 21, in swig_import_helper _mod = imp.load_module('_example', fp, pathname, description) ImportError: ./_example.so: undefined symbol: _Py_RefTotal
Please help :( Thank you