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

**URL:** <https://root-forum.cern.ch/t/cannot-find-lxmlparser-while-installing-root-release-6-10-06-2017-09-19/26542>\
**Category:** ROOT\
**Created:** [October 11, 2017, 2:36pm UTC](https://root-forum.cern.ch/t/cannot-find-lxmlparser-while-installing-root-release-6-10-06-2017-09-19/26542 "2017-10-11T14:36:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![slonik](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/b9bd4f/32.png) [@slonik](https://root-forum.cern.ch/u/slonik)\
**Post date:** [October 11, 2017, 2:36pm UTC](https://root-forum.cern.ch/t/cannot-find-lxmlparser-while-installing-root-release-6-10-06-2017-09-19/26542/1 "2017-10-11T14:36:44Z")

</div>

Dear Experts,

My installation cannot be finished correctly because of

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

```

Thank you in advance for suggestions.

Alexander

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [October 11, 2017, 6:33pm UTC](https://root-forum.cern.ch/t/cannot-find-lxmlparser-while-installing-root-release-6-10-06-2017-09-19/26542/2 "2017-10-11T18:33:31Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [October 11, 2017, 7:01pm UTC](https://root-forum.cern.ch/t/cannot-find-lxmlparser-while-installing-root-release-6-10-06-2017-09-19/26542/3 "2017-10-11T19:01:49Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [October 11, 2017, 7:17pm UTC](https://root-forum.cern.ch/t/cannot-find-lxmlparser-while-installing-root-release-6-10-06-2017-09-19/26542/4 "2017-10-11T19:17:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [October 25, 2017, 7:17pm UTC](https://root-forum.cern.ch/t/cannot-find-lxmlparser-while-installing-root-release-6-10-06-2017-09-19/26542/5 "2017-10-25T19:17:43Z")

</div>

Closed on October 25, 2017, 7:17pm UTC

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