Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find liblapack.so.3 in ubuntu 12.04

When I ran a matlab code in ubuntu 12.04, an error occurred:

liblapack.so.3: cannot open shared object file: No such file or directory

Then I installed lapack and libatlas, but only found liblapack.so.3gf instead of liblapack.so.3 in /usr/lib. Which package should I install to get liblapack.so.3?

like image 803
qqwqert007 Avatar asked Jan 21 '16 04:01

qqwqert007


1 Answers

Take a look at this thread:

liblapack.so file

You will basically have to manually download and install a package (follow the links from the aforementioned thread) fro Ubuntu 12. Another thing that I suggest to try is to create a link to "liblapack.so.3gf" like this:

sudo ln -s /usr/lib/liblapack.so.3gf /usr/lib/liblapack.so.3

There are more than one distribution of the library and the implementation might differ.

like image 83
asalic Avatar answered Sep 25 '22 01:09

asalic