Installation errors

Hello,i downloaded root-6.22.02 and inziped it.
Then I did :

git clone https://github.com/root-project/root.git
mkdir build
cd build
cmake ../root
And finally, make -j4
I tried a lot of times but always recieved this:


[ 77%] Linking CXX executable src/rootcling_stage1
[ 77%] Linking CXX shared library ../../../lib/libCling.so

/////////
/bin/ld: ../../../lib/libCling.so: hidden symbol `_ZNK4llvm12BranchFolder11MBFIWrapper12getEntryFreqEv' isn't defined
/bin/ld: ошибка конечной ссылки: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [core/metacling/src/CMakeFiles/Cling.dir/build.make:190: lib/libCling.so] error 1
make[1]: *** [CMakeFiles/Makefile2:19327: core/metacling/src/CMakeFiles/Cling.dir/all] error  2
make: *** [Makefile:152: all] error 2

Can you please help me to solve it?

Hi @elizaveta,
I have never seen that error, but you can probably install ROOT without compiling it.
If you download a binary release from your platform, unzipping is enough, no need to build.
See the instructions at https://root.cern/install .

Cheers,
Enrico

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