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 for mac not working due to different library suffix #338

Closed
tmadlener opened this issue Jul 10, 2024 · 0 comments · Fixed by #339
Closed

Python bindings for mac not working due to different library suffix #338

tmadlener opened this issue Jul 10, 2024 · 0 comments · Fixed by #339

Comments

@tmadlener
Copy link
Contributor

The python bindings are not working on macOS, because the suffix for shared libraries is dylib instead of .so. We currently explicitly go looking for .so though in our __init__.py:

res = ROOT.gSystem.Load('libedm4hepDict.so')
if res < 0:
raise RuntimeError('Failed to load libedm4hepDict.so')

It might be enough to simply remove the suffix and let ROOT do the OS specific handling, but I am not sure.

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

Successfully merging a pull request may close this issue.

1 participant