<p>Okay... I think the only thing we can do here to get this working quickly is a hack, where we set ARMADILLO_LIBRARIES manually.  Add these two lines to CMakeLists.txt, on line 114 (right after <code>find_package(Armadillo 4.100.0 REQUIRED)</code>):</p>

<pre><code>set(ARMADILLO_LIBRARIES "/usr/lib64/atlas/libatlas.so;/usr/lib64/atlas/liblapack.so;/usr/lib64/libblas.so")
message(STATUS "Manually set Armadillo libraries to: ${ARMADILLO_LIBRARIES}")
</code></pre>

<p>That should force the right dependencies to be used.  I wish I had a better solution here, but I don't...</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/511#issuecomment-182422852">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFJUKftbKAoKOG_8_kzjLK2fDmy5Oks5pi00kgaJpZM4HPrM8.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/511#issuecomment-182422852"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>