Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python bindings broken #12

Open
bmihaila opened this issue Oct 29, 2018 · 1 comment
Open

Python bindings broken #12

bmihaila opened this issue Oct 29, 2018 · 1 comment

Comments

@bmihaila
Copy link

Compiled everything in the docker way and code runs. Building the python bindings and then trying to run some code that needs them, breaks though.

Step to repro:
build python bindings as described in README:

root@6770c506c67a:/code/functionsimsearch# python3 ./setup.py install --user
running install
running build
running build_ext
building 'functionsimsearch' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/disassembly
creating build/temp.linux-x86_64-3.6/searchbackend
creating build/temp.linux-x86_64-3.6/util
creating build/temp.linux-x86_64-3.6/pybindings
...

then try to run some python code gives the error:

root@6770c506c67a:/code/functionsimsearch/pybindings# python3 pybindings_test.py
Traceback (most recent call last):
  File "pybindings_test.py", line 1, in <module>
    import functionsimsearch, unittest
ImportError: /root/.local/lib/python3.6/site-packages/functionsimsearch.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _Z26ExtractImmediateFromStringRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt6vectorImSaImEE
root@6770c506c67a:/code/functionsimsearch/pybindings# python pybindings_test.py
Traceback (most recent call last):
  File "pybindings_test.py", line 1, in <module>
    import functionsimsearch, unittest
ImportError: /root/.local/lib/python2.7/site-packages/functionsimsearch.so: undefined symbol: _Z26ExtractImmediateFromStringRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt6vectorImSaImEE
@thomasdullien
Copy link
Contributor

thomasdullien commented Oct 29, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants