我正在尝试运行一个命令:
perl bin/smartpca.perl -i merged.eigenstrat.34string.length.geno -a merged.eigenstrat.34string.length.snp -b merged.eigenstrat.34string.length.ind -o merged.eigenstrat.34string.length.pca -p merged.eigenstrat.34string.length.plot -e merged.eigenstrat.34string.length.eval -l merged.eigenstrat.34string.length.log
这会导致错误:
smartpca: error while loading shared libraries: liblapacke.so.3: cannot open shared object file: No such file or directory
当我尝试在 Google 上搜索时,却yum search liblapack
一无所获。
我如何安装这个liblapacke
库?
答案1
这是安装库的包liblapack
:https://centos.pkgs.org/7/centos-x86_64/lapack-3.4.2-8.el7.x86_64.rpm.html
根据你的 CentOS 版本更新 URL
命令如下:
sudo yum install lapack
应该安装所需的库