It looks like liblapack isn't in the path that ld can find. I would suggest two things:
- Establish a symbolic link manually. It is possible (and sometimes common) that ld cannot recognize
liblapack.so.3gf
orliblapack.so.3.0.1
or so are essentiallyliblapack.so
. You can set up a link byln -s liblapack.so.3gf liblapack.so
- Install
liblapack-dev
package instead if you're using ubuntu or debian repos. For some unclear reasons,liblapack3gf
is not the same asliblapack-dev
. I am not sure if in any circumstances, both will do or not do the same thing.
I think the first item should be able to resolve your problem (hopefully).