GSI Helmholtzzentrum für Schwerionenforschung
libstdc++.so.6: version `GLIBCXX_3.4.18' not found
Hi All, just came back from holidays, no idea what I did before, and stupidly thought the following should work: rplag@lxg0858:~/build$ . ./config.sh System during compilation: Debian GNU/Linux 7.9 (wheezy) x86_64 System now : Debian GNU/Linux 7.9 (wheezy) x86_64 rplag@lxg0858:~/build$ root -l /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/nov15p1_root6/bin/root.exe: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/nov15p1_root6/lib/root/libCore .so.6) I have the following in my bash_rc: export SIMPATH=/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/nov15p1_root6 export FAIRROOTPATH=/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-15.11_fairsoft- nov15p1_root6 export LD_LIBRARY_PATH=/cvmfs/it.gsi.de/compiler/gcc/4.8.4/lib64/:$LD_LIBRARY_P ATH export PATH=/cvmfs/it.gsi.de/compiler/gcc/4.8.4/bin:$PATH export UCESB_PATH=/u/rplag/ucesb/unpacker Ideas? Thanks! Ralf
Re: libstdc++.so.6: version `GLIBCXX_3.4.18' not found
Hi Ralf, try to load the compiler gcc 4.8.4 using following commands: module use /cvmfs/it.gsi.de/modulefiles/ module load compiler/gcc/4.8.4 export CXX=g++ Cheers, Dima
Hi Ralf, This is what has worked for me: you need to initialise the compiler after calling ". ./config.sh" The configuration script resets the values of PATH and LD_LIBRARY_PATH. Cheers, Dima
Hi Ralf, there is a better solution, than loading the compiler module again after executing ". ./config.sh" One has to specify -DUSE_PATH_INFO=true to the cmake options, which will preserve initial state of LD_LIBRARY_PATH. It is also described here: link as we agreed, I will update installation instructions accordingly. Cheers, Dima