GSI Forum - RDF feed
https://forum.gsi.de/index.php
libstdc++.so.6: version `GLIBCXX_3.4.18' not found
https://forum.gsi.de/index.phpindex.php?t=rview&goto=18849&th=4779#msg_18849
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)
Thanks!
Ralf]]>Ralf Plag2016-01-07T11:46:39-00:00Re: libstdc++.so.6: version `GLIBCXX_3.4.18' not found
https://forum.gsi.de/index.phpindex.php?t=rview&goto=18850&th=4779#msg_18850
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]]>Dmytro Kresan2016-01-07T11:50:30-00:00Re: libstdc++.so.6: version `GLIBCXX_3.4.18' not found
https://forum.gsi.de/index.phpindex.php?t=rview&goto=18851&th=4779#msg_18851
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]]>Dmytro Kresan2016-01-07T12:48:53-00:00Re: libstdc++.so.6: version `GLIBCXX_3.4.18' not found
https://forum.gsi.de/index.phpindex.php?t=rview&goto=18853&th=4779#msg_18853
Ralf Plag2016-01-07T13:03:29-00:00Re: libstdc++.so.6: version `GLIBCXX_3.4.18' not found
https://forum.gsi.de/index.phpindex.php?t=rview&goto=18906&th=4779#msg_18906
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: