Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Nov 10, 2025

After moving the 7z binary from bindir to private_libexecdir on Linux and FreeBSD, we need to update its rpath to point to the correct location of shared libraries (for libstdc++.so.6 after install). This change uses patchelf to set the rpath to $ORIGIN/../../lib/julia (via reverse_build_private_libexecdir_rel), using exactly the same logic as for zstd.

Fixes #58344 (comment)

🤖 Generated by Claude Code

@vtjnash vtjnash added backport 1.12 Change should be backported to release-1.12 backport 1.13 labels Nov 10, 2025
After moving the 7z binary from bindir to private_libexecdir on Linux and
FreeBSD, we need to update its rpath to point to the correct location of
shared libraries. This change uses patchelf to set the rpath to
$ORIGIN/../../lib/julia (via reverse_build_private_libexecdir_rel),
using exactly the same logic as for zstd.

🤖 Generated by Claude Code
@rfourquet
Copy link
Member

rfourquet commented Nov 10, 2025

I can confirm this fixes the issue for me!

@KristofferC KristofferC merged commit 8795edd into master Nov 11, 2025
7 checks passed
@KristofferC KristofferC deleted the jn/7zrpath branch November 11, 2025 11:22
KristofferC pushed a commit that referenced this pull request Nov 11, 2025
KristofferC pushed a commit that referenced this pull request Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 1.12 Change should be backported to release-1.12 backport 1.13

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants