title: Lapack++ linker problem
body: <p>I have installed lapack++ 2.5.4 with ATLAS 3.8.4 on Fedora 12.</p>
  
  <p>I wrote a simple program to test lapack++ using eclipse. </p>
  
  <p>I set these paths in eclipse:</p>
  
  <p>include path: /trunk/lapack/lapackpp-2.5.4/include</p>
  
  <p>libraries: lapackpp</p>
  
  <p>library paths: /usr/local/lib</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;lapackpp.h&gt;
  #include &lt;iostream&gt;
  
  using namespace std;
  using namespace la;
  
  int main(int argc, char* argv[])
  {
      int row = 3;
      int col = 3;
  
      LaGenMatDouble A(row,col);
      int k=0;
      for(int i=0;i&lt;row;i++){
          for(int j=0;j&lt;col;j++){
              A(i,j)=k++;
          }
      }
      cout &lt;&lt; A &lt;&lt;endl;
      return 0;
  }
  </code></pre>
  
  <p>It builds without errors, but when I try to run it, it spits out </p>
  
  <pre><code>workspace/lapack_test/Debug/lapack_test: error while loading shared libraries: liblapackpp.so.14: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>I have been trying to search for a solution, but i cannot seem to find one. I tried including -lg2c, but the compiler cannot find it. Please help.</p>