-
-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
xrootd: fix plugin location using RPATH #200830
Conversation
This PR will (also) fix #169677 if applied. |
Regrettably, xrdcp built with |
Update:
does work. That's probably why ROOT has |
How about creating something like Update: or just ship xrootd with a setuphook containing the bash array |
I think RPATH should work for this case. |
@ShamrockLee Can you post some logs from |
@veprbl https://gist.github.com/ShamrockLee/1d8975be628b943ff04fd8a0439f2dfc#file-xrdcp_pr_200830_543c75d-err
|
@ShamrockLee Thank you. Just to make sure, could it be truncated? I can't find a mention of XrdSec |
@veprbl Here's the log truncated with |
And what about something like
? |
Using the
is empty. (with only warnings that sub-directories like |
Maybe it's "RUNPATH"? |
https://gist.github.com/ShamrockLee/1d8975be628b943ff04fd8a0439f2dfc#file-xrdcp_pr_200830_543c75d_grep_n_xrdsec-err The xrootd library path is there. It can even be seen directly by viewing the executable inside Vim and type slash to search. |
I see that there are few lines where the xrootd is not in RUNPATH. I wonder which binaries they correspond to. Perhaps it might be fixed by switching from RUNPATH to a global RPATH by passing a |
reply to @ShamrockLee #285505 (comment)
About LD_LIBRARY_PATH, I did not need it this time. What is a trigger for it? Is there a reproducer with a public URL? |
It can be triggered by accessing The following reproducer uses the experimental features Preparation:
|
but
|
Description of changes
Closes: #200748
Resolves: #169677
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes