by matt223 » Thu Nov 24, 2011 9:32 pm
Hi, I'm trying to upgrade to LAPACK 3.4.0 and also install LAPACKE under Linux Mint. After carefully following the instructions, I am unable to successfully link the libraries (with the gcc compiler). I originally installed liblapack-dev and libblas-dev from the package manager and was able to compile my programs without issue. I have since removed liblapack-dev in order to upgrade to 3.4.0 and after manually building the new version, the link flag (-llapack) no longer works. I extracted the lapack folder, used the gnu make.inc changing only BLASLIB to "/usr/lib/libblas.a" and ran the "make all" command. Everything seemed to go well other than the tests, which failed giving the error "multiple definitions of xerbla_". -lapacke is also not working after building the files in the LAPACKE folder. Could someone kindly explain what I am doing wrong?