Cannot find -lXMLParser while installing ROOT: Release 6.10/06 - 2017-09-19

Dear Experts,

My installation cannot be finished correctly because of

/usr/bin/ld: cannot find -lXMLParser
collect2: error: ld returned 1 exit status
make: *** [lib/] Error 1

Thank you in advance for suggestions.


That may be a problem with the parallel build. Just try cmake --build . -- -j1 or make -j1 if using the classic build script and it should be able to go to the end. Also, if you are not tied to ROOT 6.10, I recommend you to try v6.11/02, which was recently released and will work fine to build in parallel. It also has many improvements compared with 6.10/06. Cheers,

That said - it’s a problem that we’d like to understand and fix. We will need the full build output for that, and details of how you configured ROOT: cmake / configure; which invocation did you use, which platform are we talking about.

It could well be that the build of libXMLParser failed, and you only saw a follow-up error message (i.e. not the first one).

It’s already fixed on master. The XMLParser was the most common point at which parallel builds would fail, therefore my guess…

1 Like

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