/usr/bin/ld: cannot find -llapack

前端 未结 3 2009
生来不讨喜
生来不讨喜 2020-12-05 04:21

I am seeking help for installation in ubuntu 14.04. I am installing a package in my pc. They have their makefiles. I have to run make.

When I did I found error like.

3条回答
  •  臣服心动
    2020-12-05 05:23

    Just install packages that contain liblapack.so.* and libblas.so.* libraries. If you are sure that those packages are already installed - just find them by: find / -name 'liblapack*' and add that path to gcc with -L/path/to/liblapack.

    edit: In your invocation of fortran compiler there are some directories given with -L - but are you sure that needed libraries are located in documentation directories: -L/usr/share/doc/liblapack -L/usr/share/doc/libblas ?

提交回复
热议问题