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

issues on debian 10 #21

Open
marcocamma opened this issue Feb 7, 2020 · 0 comments
Open

issues on debian 10 #21

marcocamma opened this issue Feb 7, 2020 · 0 comments

Comments

@marcocamma
Copy link

Hi,

I have managed to compile SRW in debian10.

Yet when I try to test the python interface from the env/release folder I get

marco@x1~/l/S/e/r/srw_python> python3 SRWLIB_Example06_PETRA.py
Traceback (most recent call last):
  File "SRWLIB_Example06_PETRA.py", line 9, in <module>
    from srwlib import *
  File "/home/marco/linux/SRW/env/release/srw_python/srwlib.py", line 6, in <module>
    import srwlpy as srwl
ImportError: /home/marco/linux/SRW/env/release/srw_python/srwlpy.so: undefined symbol: PyString_AsString

Installing the python binding using the command sudo python3 setup.py install (executed in SRW/cpp/py) also resulted in a similar (yet not identical error) upon importing from ipython

ImportError: /usr/local/lib/python3.7/dist-packages/SRW_Python_interface-1.0-py3.7-linux-x86_64.egg/srwlpy.cpython-37m-x86_64-linux-gnu.so: undefined symbol: srwlUtiSetWfrModifFunc

Don't hesitate to let me know if you need any other information to help understanding the issue,
thanks !

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

1 participant