Standard library error after updating from Ubuntu 18 to 20

Hi all,

I recently updated my system from Ubuntu 18.04 to 20.04. When I started using ROOT after doing this, I receive the the following error upon startup:

nick@nick-X510UAR:~/PHY496/HEPTutorial_0$ root
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C x86_64-linux-gnu-g++-7  -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
   ------------------------------------------------------------------
  | Welcome to ROOT 6.22/00                        https://root.cern |
  | (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Jun 14 2020, 15:54:05                 |
  | From tags/v6-22-00@v6-22-00                                      |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

root [0] 

Any suggestions about how to rectify this?

ROOT Version: 6.22/00
Platform: Ubuntu 20.04


Hi @Cepheides,
how did you install ROOT? The system update most likely requires a re-installation of ROOT, because your compiler and standard library are now different.

Cheers,
Enrico