qqwqert007
qqwqert007

Reputation: 125

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?

Upvotes: 5

Views: 13601

Answers (2)

Prajot Kuvalekar
Prajot Kuvalekar

Reputation: 6658

try

sudo apt-get install -y liblapacke.so.3

[ for AIMET installation ]

Upvotes: 3

asalic
asalic

Reputation: 664

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.

Upvotes: 7

Related Questions