Error with exit code 256 after upgrading from Ubuntu 18 to Ubuntu 20

Hello,

I have just upgraded my laptop os from Ubuntu 18 to Ubuntu 20. ROOT version - 6.18/02 is installed on my laptop. Before upgrading there was no error when opening root. But after the upgrade, it is showing this error [1]. Could you please suggest something that can solve the issue?

[1]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 >/dev/null | awk ‘/^#include </,/^End of search/{if (!/^#include </ && !/^End of search/){ print }}’ | GREP_OPTIONS= grep -E “(c|g)++”
Results was:
With exit code 256

| Welcome to ROOT 6.18/02 https://root.cern |
| © 1995-2019, The ROOT Team |
| Built for linuxx8664gcc on Sep 08 2019, 09:52:00 |
| From tag , 23 August 2019 |

Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’

root [0] .q

https://root.cern/download/?C=M;O=A;P=*[uU][bB][uU][nN][tT][uU]*20*

The problem was that the g++ version was changed after upgrading from ubuntu18 to ubuntu20. I have installed the “g+±7” version which actually solved the issue.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.