I worked with Root with no issues for a couple of weeks untill an update of Ubuntu20. Since the update every time I try to launch a program including ROOT functions (specifically TGraphErrrors) i get the error in the title. The complete text of the error reads as it follows:
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
LC_ALL=C x86_64-linux-gnu-g++-9 -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Compiling the .cpp source code shows no error or problem, the issue pops up only at the moment of executing the builded program.
The sequence of command that produce the error are:
thisroot.sh
c++ file_name.cpp `root-config --cflags --glibs` -o file_name
./file_name
ROOT Version: 6.26.00
Platform: Ubuntu
Compiler: gcc