5

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?

qqwqert007
  • 125
  • 1
  • 1
  • 8

2 Answers2

7

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.

Community
  • 1
  • 1
asalic
  • 664
  • 3
  • 6
1

try

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

[ for AIMET installation ]

Prajot Kuvalekar
  • 5,128
  • 3
  • 21
  • 32