I am trying to compile a program that uses lapack.
First, I installed lapack by installing all the packages using 'sudo apt-get install' on this link: https://launchpad.net/ubuntu/precise/+source/lapack
I am trying to compile the code on this page: http://www.nag.com/lapack-ex/examples/source/dgbsv-ex.f
I got this program from: http://www.nag.com/lapack-ex/lapack-ex.html
I tried to compile the program by typing
$gfortran dbgsv-ex.f -llapack -lblas
into a terminal
I get a bunch of error messages, all of the form
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/liblapack.so: undefined reference to
`ATL_strsv'
i.e. the error messages end with ATL_xxxx
. Note also that when I look in my /usr/lib/
I see a file called liblapack.so