ubuntu中编译报错 /usr/bin/ld: cannot find -lperl
再 ubuntu 平台,使用 make 编译软件,出现以下报错
/usr/bin/ld: cannot find -lperl
此时需要安装 libperl-dev
apt install libperl-dev
/usr/bin/ld: cannot find -llapack: No such file or directory
解决办法:sudo apt install liblapack-dev
/usr/bin/ld: cannot find -lblas: No such file or directory
解决办法:sudo apt install libblas-dev
总结升华
/usr/bin/ld: cannot find -l***
apt install lib***-dev