_ROOT Version: On branch v6-25-02
_Platform: Linux 5.13.0-28-generic #31-Ubuntu SMP Thu Jan 13 17:41:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
_Compiler: g++ (Ubuntu 11.2.0-7ubuntu2) 11.2.0
git clone http://root.cern.ch/git/root.git
git checkout -b $(git tag -l | tail -n 1) $(git tag -l | tail -n 1)
cmake -DMAKE_INSTALL_PREFIX=../root_install ../root
-- ROOT Configuration
System Linux-5.13.0-28-generic
Processor 6 core Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (x86_64)
Build type Release
Install path /usr/local
Compiler GNU 11.2.0
Compiler flags:
C -Wno-implicit-fallthrough -pipe -Wall -W -pthread -O3 -DNDEBUG
C++ -std=c++17 -Wno-implicit-fallthrough -Wno-noexcept-type -pipe -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -O3 -DNDEBUG
Linker flags:
Executable -rdynamic
Module
Shared -Wl,--no-undefined -Wl,--hash-style="both"
-- Enabled support for: asimage builtin_afterimage builtin_clang builtin_cling builtin_gl2ps builtin_llvm builtin_lz4 builtin_lzma builtin_nlohmannjson builtin_openui5 builtin_tbb builtin_vdt builtin_xrootd builtin_xxhash clad dataframe exceptions fftw3 fitsio gdml http imt mathmore mlp minuit2 mysql opengl pyroot roofit webgui root7 rpath runtime_cxxmodules shared ssl tmva tmva-cpu spectrum vdt x11 xml xrootd
-- Configuring done
-- Generating done
cmake --build . -j11
~/root_build$ root
------------------------------------------------------------------
| Welcome to ROOT 6.25/02 https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Feb 20 2022, 03:07:51 |
| From tags/v6-25-02@v6-25-02 |
| With c++ (Ubuntu 11.2.0-7ubuntu2) 11.2.0 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0] .q
$ root
root: libstdc++.so.6: version `CXXABI_1.3.8' not found (required by root)
root: libstdc++.so.6: version `CXXABI_1.3.9' not found (required by root)
root: libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by root)
I have no clue why I’m getting these errors when I’m outside the build directory. I get segfaults and crashes when it runs inside the build directory, so there seems to be something fundamentally wrong with my entire build. Any insights/ideas on debugging would be greatly appreciated. I tried to follow the docs as closely as possible.