<p>Fresh build of mlpack on 64-bit linux (Arch) latest stable release following the standard install (<code>cmake ../; make; make test; make install</code>).</p>

<p>Cmake seems to find libxml correctly:</p>

<pre><code>-- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.9.2", minimum required is "2.6.0") 
</code></pre>

<p>All tests pass and make install seems to run fine (binaries all work correctly).</p>

<p>However, when I try to follow the kmeans example compiling with:<br>
     #include </p>

<p>Gives the following error:</p>

<pre><code>/usr/local/include/mlpack/core/util/save_restore_utility.hpp:26:27: fatal error: libxml/parser.h: No such file or directory
</code></pre>

<p>This might be a very naive issue (and almost certainly similar to <a href="https://github.com/mlpack/mlpack/issues/285" class="issue-link" title="getting error while trying to compile linear_regression_main.cpp">#285</a>), clearly I need to correctly link libxml2 when compiling mlpack but I'm not quite sure how to go about that with cMake and I don't trust myself to correctly manually compile everything.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/393">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFIsxyM8G3DNNWppKYAQvP6muS6q9ks5nmBFXgaJpZM4DYDTN.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/393"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>