Skip to content

Fixing missing RPATH for unix swig interface files - #569

Merged
JulienDoerner merged 2 commits into
CRPropa:masterfrom
JanNiklasB:pythonVenvFix
Jul 23, 2026
Merged

Fixing missing RPATH for unix swig interface files#569
JulienDoerner merged 2 commits into
CRPropa:masterfrom
JanNiklasB:pythonVenvFix

Conversation

@JanNiklasB

Copy link
Copy Markdown
Member

Hi,

this PR attempts to fix #568 by adding the explicit RPATH to the swig interface.

JanNiklasB added a commit to JanNiklasB/CRPropa3 that referenced this pull request Jul 13, 2026
- Merge CRPropa#569
- Workaround by manually specifying `LD_LIBRARY_PATH` and `CRPropa_INSTALL_PREFIX`
@JulienDoerner

Copy link
Copy Markdown
Member

You use two different RPath variables in the plugin-template ("${CMAKE_INSTALL_PREFIX}/lib") and the main CMakeLists ("${CMAKE_INSTALL_FULL_LIBDIR}").

Is there a special reason why they should differ? Otherwise, I would suggest making it consistent.

For consitency `${CMAKE_INSTALL_PREFIX}/lib` was changed to `${CMAKE_INSTALL_FULL_LIBDIR}` across all files
@JulienDoerner
JulienDoerner merged commit f6085f2 into CRPropa:master Jul 23, 2026
11 of 12 checks passed
@JanNiklasB
JanNiklasB deleted the pythonVenvFix branch July 29, 2026 15:15
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.

Missing RPATH for _crpropa.so on unix systems

2 participants