Skip to content

[roottest] Use RPATH instead of setting LD_LIBRARY_PATH#21083

Closed
guitargeek wants to merge 1 commit intoroot-project:masterfrom
guitargeek:issue-21076-2
Closed

[roottest] Use RPATH instead of setting LD_LIBRARY_PATH#21083
guitargeek wants to merge 1 commit intoroot-project:masterfrom
guitargeek:issue-21076-2

Conversation

@guitargeek
Copy link
Copy Markdown
Contributor

This avoids overwriting the LD_LIBRARY_PATH from the build environment.

Closes #21076.

This avoids overwriting the LD_LIBRARY_PATH from the build environment.

Closes root-project#21076.
@github-actions
Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 14h 20m 23s ⏱️
 3 775 tests  3 772 ✅ 0 💤  3 ❌
75 972 runs  75 961 ✅ 0 💤 11 ❌

For more details on these failures, see this check.

Results for commit 8b04bd0.

# variables in the build environment.
if(NOT MSVC)
if(APPLE)
set(new_rpath "@loader_path/librntuplestltest")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems ineffective/incomplete (lead to test failure on mac builds - there does not seem to be a trace of the subdirectory name in the output).

@guitargeek
Copy link
Copy Markdown
Contributor Author

Superseded by #21097

@guitargeek guitargeek closed this Feb 2, 2026
@guitargeek guitargeek deleted the issue-21076-2 branch February 2, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests: roottest-root-ntuple-makeproject-ttree-read_ttree, roottest-root-ntuple-makeproject-rntuple-read_rntuple failing to find libtbb.so

2 participants