无法打开共享库文件:没有这样的文件或目录[VM上的FSL安装]

时间:2018-12-04 09:10:28

标签: linux virtual-machine

我无法在虚拟机上运行FSL,并且想知道是否有人知道如何解决问题-

写作-

tbss_1_preproc *.nii.gz

创建了两个子文件夹-“ origdata”和“ FA”,并将文件复制到“ origdata”,但“ FA”文件夹为空。每个文件出现以下错误信息:

processing 
/usr/local/fsl/bin/fslhd: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
dc: stack empty
/usr/local/fsl/bin/fslhd: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
dc: stack empty
/usr/local/fsl/bin/fslhd: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
dc: stack empty
/usr/local/fsl/bin/fslmaths: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
/usr/local/fsl/bin/fslmaths: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory
/usr/local/fsl/bin/fslmaths: error while loading shared libraries: libopenblas.so.0: cannot open shared object file: No such file or directory

我尝试遵循this link并撰写

sudo yum install libopenblas-base

但这导致了

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.prometeus.net
  * extras: centos.turhost.com
  * updates: mirror.muvhost.com
    No package libopenlabs-base available.
    Error: Nothing to do

有人对这种错误消息有经验吗?

谢谢!

1 个答案:

答案 0 :(得分:0)

我遇到了完全相同的问题。似乎对于VMware设置,相关的软件包不是lipopenblas- base ,而是lipopenblas- serial ,另请参见: https://centos.pkgs.org/7/epel-x86_64/openblas-serial-0.3.3-2.el7.x86_64.rpm.html

这为我解决了问题

sudo yum install libopenblas-serial