Xrootd is now an external package, and is not distributed with root anymore. Tu use xrdcp, you have to add /afs/cern.ch/sw/lcg/external/xrootd/3.1.0p2/x86_64-slc5-gcc43-opt/bin to your PATH and /afs/cern.ch/sw/lcg/external/xrootd/3.1.0p2/x86_64-slc5-gcc43-opt/lib to your LD_LIBRARY_PATH.
(replace “x86_64-slc5-gcc43-opt” by your version if needed)
I’ve been trying to compile a piece of code that opens a TFile using xrootd. I saw the reply above, but it doesn’t seem to work for me. I’m doing this on lxplus. Any hints would be appreciated.
> ./test.exe
dlopen error: libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by libXrdUtils.so.0)
Load Error: Failed to load Dynamic link library /afs/cern.ch/sw/lcg/app/releases/ROOT/5.32.01/x86_64-slc5-gcc43-dbg/root/lib/libNetx.so
Error in <TPluginHandler::SetupCallEnv>: class TXNetFile not found in plugin Netx