I’m trying to update my ROOT version on my linux ubuntu VM.
I have several versions available, but can not seem to set the one I wish as default i.e.:
current version: ROOT/5.34.26/x86_64-slc6-gcc48-opt/root/bin/root
And I want to set this as default when I open/use root:
ROOT/6.06.08/x86_64-slc6-gcc49-opt/root/bin/root
I am new to both ROOT and linux, thanks in advance!
The command seem to have worked, but now root wont open, when I type root in terminal:
“root: /cvmfs/sft.cern.ch/lcg/external/gcc/4.8.1/x86_64-slc6/lib64/libstdc++.so.6: version `CXXABI_1.3.8’ not found (required by root)”
Did I assume wrongly that the version was available since it is shown in the directory?
slc6 is for “Scientific Linux CERN 6” linux distribution, not Ubuntu.
You need to use Ubuntu-compatible version of root binaries.
ROOT 5 for SLC6 may have worked in Ubuntu, but ROOT 6 is unlikely to work this way.
You’ve loaded the x86_64-slc6-gcc49-opt version of ROOT, but you have gcc 4.8.1 active.
Try to . /cvmfs/sft.cern.ch/lcg/external/gcc/4.9.1/x86_64-slc6/setup.sh.