/usr/bin/ld: cannot find -llapack

前端 未结 3 2006
生来不讨喜
生来不讨喜 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:02

    On Ubuntu 14.04 make sure you have the packages

    • liblapack-dev
    • liblapack3
    • libopenblas-base
    • libopenblas-dev

    installed. After that, "-L/usr/lib -llapack -lblas" should work. Also note that, as already mentioned in another answer, in the output you showed, you have "-L/usr/share/doc/liblacpack -L/usr/share/doc/libblas", which is certainly not what you want.

提交回复
热议问题