ROOT Installation problem in Ubuntu 18.04

ROOT version: 6
Platform: ubuntu, compiler: gcc 7

I am trying to install root in my PC but it shows me some error as following. I couldn’t understand how to fix it. Please help me out. Thank you so much in advance.

g++ -shared -Wl,-soname,libUnfold.so -m64 -O2 -DNDEBUG -Wl,–no-undefined -Wl,–as-needed -o lib/libUnfold.so hist/unfold/src/TUnfoldDensity.o hist/unfold/src/TUnfoldBinning.o hist/unfold/src/TUnfold.o hist/unfold/src/TUnfoldBinningXML.o hist/unfold/src/TUnfoldSys.o hist/unfold/src/G__Unfold.o -Llib -lCore -ldl -Llib -lHist -lMatrix -lXMLParser
/usr/bin/x86_64-linux-gnu-ld: cannot find -lXMLParser
collect2: error: ld returned 1 exit status
/home/siid/ROOT/root-6.10.08/hist/unfold/Module.mk:46: recipe for target ‘lib/libUnfold.so’ failed
make: *** [lib/libUnfold.so] Error 1

Hi,

you need to have libxml2 before configuring ROOT.

Cheers,
Danilo

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