I’ve just moved from ubuntu 15 to ubuntu 18.04 LTS.
ROOT was indeed compiled with the compiler that I had on the ubuntu 15 version (no idea of how to retreive which one it was).
Now when trying to compile the easiest code I get:
Warning in cling::IncrementalParser::CheckABICompatibility():
C++ ABI mismatch, compiled with GLIBCXX v20151010 running with v20180720
and then a nice segmentation fault.
I’ve seen this post:
and I understand that the compiler I used to compile ROOT at the begninning is not the one which is installed now. Still, I would prefer not to recompile root, since I have other libraries depending on it.
How can I figure out with which compiler ROOT was compiled?
Is this work-around still valid?
gSystem->SetMakeSharedLib((TString(gSystem->GetMakeSharedLib())).ReplaceAll("g++ ", "g+±4.8 ").Data());
Thank you very much for your help
_ROOT Version: 6.04
_Platform: ubuntu 18.04
_Compiler:/usr/bin/gcc -> gcc-7 , so I think 7.3 but I not sure.