-
Notifications
You must be signed in to change notification settings - Fork 97
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
Comments
Hey there,
I had forgotten to add disassembly/extractimmediate.cpp to the setup.py
file, this
should be fixed now. You will probably have to clean / remove your old
build files.
Cheers,
Thomas
Am Mo., 29. Okt. 2018 um 11:54 Uhr schrieb Bogdan Mihaila <
[email protected]>:
… 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:
***@***.***:/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:
***@***.***:/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
***@***.***:/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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEYBvNg9bcZ6StHSu3sv99IiRIQGhF2Hks5upt5zgaJpZM4X-6yV>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
then try to run some python code gives the error:
The text was updated successfully, but these errors were encountered: