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

Set RPATH to $ORIGIN so shared objects can be found after installation #28

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roryatario
Copy link

This is a bare-bones commit that allows wheels to work on Linux. It needs some CMake fixes, e.g., gating the extra flag on CMAKE_SYSTEM_NAME being equal to Linux.

I believe there's another way to achieve the same thing, namely adding an __init__.py (or similar) and using ctypes to preload the SOs, since they will be in a fixed location relative to that Python source file.

While I think the auditwheel package might do something similar to (or better than!) this, it doesn't support ARM platforms, and we need pydnp3 on a Raspberry Pi-based system.

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 this pull request may close these issues.

1 participant