LIBCXX_3.4.9 not found

I’m trying to compile my code on lxplus, on a certain point I got this error:

g++ -g -O2 -fPIC -Wall -pthread -m32  -I/afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00d/i686-slc5-gcc43-opt/root/include -o base_selectors/NtupleSelector.o -c base_selectors/NtupleSelector.C
*  Building dictionary base_selectors/NtupleSelector_Cint.C
cd base_selectors/; rootcint -f NtupleSelector_Cint.C -c NtupleSelector.h+
rootcint: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by rootcint)
rootcint: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /afs/cern.ch/atlas/offline/external/LCGCMT/LCGCMT_56c/InstallArea/i686-slc5-gcc43-opt/lib/libCint.so)
make: *** [base_selectors/NtupleSelector_Cint.C] Error 1

Hi,

You first have to set up the environment for the gcc4.3 compiler.
With bash:

With [t]csh:

It is also explained there

Cheers, Bertrand.

[quote=“bellenot”]Hi,

You first have to set up the environment for the gcc4.3 compiler.
With bash:

With [t]csh:

It is also explained there

Cheers, Bertrand.[/quote]

thank you, sorry, I’ve set up a older version of ROOT

You’re welcome, and no problem :slight_smile: