title: Problems in linking LAPACK with Code:Blocks GNU fortran compiler Ubuntu 14.04
body: <p>I want to link LAPACK library with my fortran code (.f90) on Ubuntu 14.04</p>
  
  <p>I run this with terminal option 
  <code>gfortran -o main main.f95 -L"usr/lib/lapack" -llapack</code> 
  and it compiles with no error.
  But in Code::Blocks, I create a fortran project and goto Project->Build options </p>
  
  <p><a href="https://i.stack.imgur.com/sBG1X.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sBG1X.jpg" alt="enter image description here"></a> </p>
  
  <p>And it gives error when I build the project
  <code>gfortran error: usr/lib/lapack/liblapack.so No such file or directory</code></p>
  
  <p>I do not understand what is going wrong. I also have LAPACK installed. 
  These are files at <code>/usr/lib/lapack</code>
  <code>liblapack.a  liblapack.so  liblapack.so.3  liblapack.so.3.0
  </code>
  Any help?</p>