Using the latest ROOT version on lxplus

Dear all,
I haven’t found any thread in the forum dealing with this problem, there are however several results via google, did unfortunately are not helpful.
I am trying to set up root 6.06.06 on lxplus. The procedure I am trying is to put the following in the .bashrc:

This produces the following error when attempting to run “root”:

[quote]root: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8’ not found (required by root)
[/quote]

Where is the mistake in there?
Hope you can help me!
Cheers and many thanks in advance,
Christian Heinz

1 Like

Hi Christian,

the lines should be

. /afs/cern.ch/sw/lcg/external/gcc/4.9/x86_64-slc6-gcc49-opt/setup.sh
. /afs/cern.ch/sw/lcg/app/releases/ROOT/6.06.06/x86_64-slc6-gcc49-opt/root/bin/thisroot.sh

as documented here: root.cern.ch/content/release-60606

Cheers,
Danilo

1 Like

This works!! Thank you very much!!!

Dear co-rooters,

Currently we are in version 6.12.04. I am trying to use it on lxplus, but I find my self a bit unable… What I do is the following

  1. source /cvmfs/sft.cern.ch/lcg/contrib/gcc/4.8/x86_64-centos7-gcc48-opt/setup.csh
  2. source /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.12.06/x86_64-centos7-gcc48-opt/root/bin/thisroot.csh

When I start root, I get the following error

[astamato@lxplus049 code]$ root
root: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /cvmfs/sft.cern.ch/lcg/contrib/gcc/4.8.4/x86_64-centos7-gcc48-opt/lib64/libstdc++.so.6)
root: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /cvmfs/sft.cern.ch/lcg/contrib/gcc/4.8.4/x86_64-centos7-gcc48-opt/lib64/libgcc_s.so.1)
[astamato@lxplus049 code]$

I tried to see where libc.so.6 is located on lxplus and it seems that it really is on /lib64/libc.so.6

$ locate libc.so.6
  /lib/libc.so.6
  /lib/i686/nosegneg/libc.so.6
  /lib64/libc.so.6

So I don’t know how to proceed… Any idea on how to use root 6.12.04 on lxplus?

Thanks in advance!

1 Like

I’ve figured it out.
The trick is to login to lxplus7 i.e.

ssh -XYC user@lxplus7.cern.ch

and then

source /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.12.06/x86_64-centos7-gcc48-opt/root/bin/thisroot.csh

After that ROOT starts normally!

2 Likes