GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » libstdc++.so.6: version `GLIBCXX_3.4.18' not found
libstdc++.so.6: version `GLIBCXX_3.4.18' not found [message #18849] Thu, 07 January 2016 12:46 Go to next message
Ralf Plag is currently offline  Ralf Plag
Messages: 25
Registered: September 2015
continuous participant
From: *gsi.de
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 [message #18850 is a reply to message #18849] Thu, 07 January 2016 12:50 Go to previous messageGo to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: 93.77.23*
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
Re: libstdc++.so.6: version `GLIBCXX_3.4.18' not found [message #18851 is a reply to message #18849] Thu, 07 January 2016 13:48 Go to previous messageGo to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: 93.77.23*
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
Re: libstdc++.so.6: version `GLIBCXX_3.4.18' not found [message #18853 is a reply to message #18851] Thu, 07 January 2016 14:03 Go to previous messageGo to next message
Ralf Plag is currently offline  Ralf Plag
Messages: 25
Registered: September 2015
continuous participant
From: *gsi.de
Yes, thanks, this worked.
Re: libstdc++.so.6: version `GLIBCXX_3.4.18' not found [message #18906 is a reply to message #18853] Tue, 19 January 2016 15:20 Go to previous message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: 93.77.23*
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
Previous Topic: FairSoft with GCC in MacOs
Next Topic: External packages and Root 6 cling error
Goto Forum:
  


Current Time: Wed Nov 27 10:05:27 CET 2024

Total time taken to generate the page: 0.00841 seconds