加载共享库时出错:libvtkDomainsChemistry-7.1.so.1

加载共享库时出错:libvtkDomainsChemistry-7.1.so.1

我正在尝试安装 FreeSurfer:ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/6.0.0/freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0.tar.gz

我按照以下步骤安装 FreeSurfer:https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall

当我运行以下命令时:

~/subjects$ freeview -v \
bert/mri/T1.mgz \
bert/mri/wm.mgz \
bert/mri/brainmask.mgz \
bert/mri/aseg.mgz:colormap=lut:opacity=0.2 \
-f \
bert/surf/lh.white:edgecolor=blue \
bert/surf/lh.pial:edgecolor=red \
bert/surf/rh.white:edgecolor=blue \
bert/surf/rh.pial:edgecolor=red

我收到此错误:

freeview: error while loading shared libraries: libvtkDomainsChemistry-7.1.so.1: cannot open shared object file: No such file or directory

我已经尝试了之前列表中的大多数建议。

~/subjects$ sudo apt-get install libvtkDomainsChemistry-7.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libvtkDomainsChemistry-7.1
E: Couldn't find any package by glob 'libvtkDomainsChemistry-7.1'
E: Couldn't find any package by regex 'libvtkDomainsChemistry-7.1'

另外,我已经尝试过了,

$ sudo apt 安装 libvtk7.1-qt

$ sudo apt 安装 libvtk7.1

两个都安装成功,没有错误。但是当我尝试 Freeview 时,出现了完全相同的错误,

$ 免费观看-v \

bert/mri/T1.mgz \
bert/mri/wm.mgz \
bert/mri/brainmask.mgz \
bert/mri/aseg.mgz:colormap=lut:opacity=0.2 \
-f \
bert/surf/lh.white:edgecolor=blue \
bert/surf/lh.pial:edgecolor=red \
bert/surf/rh.white:edgecolor=blue \
bert/surf/rh.pial:edgecolor=red

freeview:加载共享库时出错:libvtkDomainsChemistry-7.1.so.1:无法打开共享对象文件:没有此文件或目录

我对 Linux 还很陌生,如能得到任何帮助将不胜感激!

答案1

该库包含在libvtk7.1 包裹只需这样做:

sudo apt install libvtk7.1

相关内容