<p>The compilation issue with libxml2 is outstanding and needs to be resolved one way or another; there's already an issue open for that: <a href="https://github.com/mlpack/mlpack/issues/315" class="issue-link" title="Make xml dependency optional">#315</a> </p>

<p>If you're having trouble with installing mlpack, why not install from the Ubuntu repositories directly?  That is very much easier, and then libmlpack.so ends up in your linker's search path (in /usr/lib/ or similar, depending on the distribution) and the headers end up in the compiler's search path (in /usr/include/).  You still need to link against mlpack, but that's basic gcc knowledge.</p>

<p>I can't really incorporate anything here into the documentation; a lot of the paths you've suggested are specific to either your distribution or your install, and manually adding a hidden file to your ld.so.conf.d/ just for mlpack is not always the best solution, especially if you start installing lots of things in /usr/local/, like newer (or different) versions of system libraries, which can lead to the wrong library being loaded at runtime and eventual disaster (again, depending on the system, the modifications to the runtime linker configuration, and so forth).  Plus, the README.md file (in the master branch, at least) does mention that you may need to manually set your linker's search path with <code>LD_LIBRARY_PATH</code> (or something else, as usual, depending on the specifics of the system configuration).</p>

<p>If you find specific information in the wiki that's misleading or incorrect, please, open an issue so we can address it, but I really want to avoid hard-coding distribution-specific documentation, as it is subject to change---and when the distributions do change how they do things (which is quite often), then our documentation is out of date and users get confused...</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/402#issuecomment-74013912">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPPgYyT3AzcD6ibn218gCCCxZ5G5ks5nrByZgaJpZM4DfCJ_.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/402#issuecomment-74013912"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>