Skip to content

Undefined symbol error when calling swigibpy #44

Description

@bpajusco

I've tried to install the module in several ways on different versions of Python (2.7.10, 3.4 and 3.5) on Ubuntu 15.10 locally and in anaconda; I've tried pip install and a manual installation (setup install) but it makes no difference to the final result which is an import error. Incidentally, I'm able to use the IB API using ibpy and the Java interface but I'm really interested in getting your code to work. For completeness here is the full stack with the error message:

(py3k)bruno@bruno-VGN-SZ791N:~/IBJts$ python -c 'import swigibpy as ib; print(ib.version)'
Traceback (most recent call last):
File "", line 1, in
File "/home/bruno/anaconda/envs/py3k/lib/python3.5/site-packages/swigibpy-0.5.0-py3.5-linux-x86_64.egg/swigibpy.py", line 43, in
_swigibpy = swig_import_helper()
File "/home/bruno/anaconda/envs/py3k/lib/python3.5/site-packages/swigibpy-0.5.0-py3.5-linux-x86_64.egg/swigibpy.py", line 39, in swig_import_helper
_mod = imp.load_module('_swigibpy', fp, pathname, description)
File "/home/bruno/anaconda/envs/py3k/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/bruno/anaconda/envs/py3k/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: /home/bruno/anaconda/envs/py3k/lib/python3.5/site-packages/swigibpy-0.5.0-py3.5-linux-x86_64.egg/_swigibpy.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions