Error in installation of root_v6.24.06

I am installing root_v6.24.06 on Ubuntu 20.04, and I’m facing this error at 74%

[ 74%] Linking CXX executable src/rootcling_stage1
[ 74%] Built target Cling
/usr/bin/ld: …/…/lib/libclingInterpreter.a(CIFactory.cpp.o): in function `(anonymous
.
.
.
.
.
collect2: error: ld returned 1 exit status
gmake[2]: *** [core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/build.make:247: core/rootcling_stage1/src/rootcling_stage1] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:28150: core/rootcling_stage1/CMakeFiles/rootcling_stage1.dir/all] Error 2
gmake: *** [Makefile:171: all] Error 2

If anyone could please suggest a way out?

The ROOT team provides ready-to-use binary distributions for some systems (see “Download a pre-compiled binary distribution” therein), including various Ubuntu versions, which you just need to download and unpack.

For Ubuntu 20.04 / x86_64 / gcc 9.3: https://root.cern/download/?C=M;O=A;P=*[uU][bB][uU][nN][tT][uU]*20*

But I need to install it from source

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