-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
FindXROOTD adds libraries to link against irrespective of xrootd version used #11750
Comments
Can't you simply use the |
No, we don't want to use the builtin xrootd. |
And I suppose adding the XROOTD you want in |
The problem is that I.e., from the opening post this finds xrootd version 5.3.1 from where we put it, but then just adds
|
OK, then I'll need to set-up a VM and investigate... |
I think we should rely on XRootDConfig.cmake, but I'll have to see the implications |
Re-opened because the |
Dear ROOT devs,
These lines in the FindXROOTD
root/cmake/modules/FindXROOTD.cmake
Lines 137 to 149 in 323c214
make some root libraries, e.g., libNetxNG.so, link against old versions of xrootd if they are found on the system, even though one wants to build against the new version of xrootd.
We for SPI run into this problem when building on a machine which just happens to have this installed, and we cannot control the packages.
e.g. this is printed during configure:
This then causes problem when our ROOT is used on some other machine.
So at the moment we just patch these lines out. If you could consider dropping them, or some check based on xrootd version?
Thanks,
Andre
The text was updated successfully, but these errors were encountered: