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, -m64 -O2 -DNDEBUG -Wl,–no-undefined -Wl,–as-needed -o lib/ 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/ recipe for target ‘lib/’ failed
make: *** [lib/] Error 1


you need to have libxml2 before configuring ROOT.


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