When I try to launch DWIToDTIEstimation
from GUI or from CLI:
Slicer-4.10.2-linux-amd64/Slicer --launch /path/to/.config/NA-MIC/Extensions-28257/SlicerDMRI/lib/Slicer-4.10/cli-modules/DWIToDTIEstimation --help
I run into the following error:
.config/NA-MIC/Extensions-28257/SlicerDMRI/lib/Slicer-4.10/cli-modules/DWIToDTIEstimation: error while loading shared libraries: libvtkDMRI.so: cannot open shared object file: No such file or directory
However, when I explicitly define LD_LIBRARY_PATH
before, there is no error:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/.config/NA-MIC/Extensions-28257/SlicerDMRI/lib/Slicer-4.10/qt-loadable-modules Slicer-4.10.2-linux-amd64/Slicer --launch /path/to/.config/NA-MIC/Extensions-28257/SlicerDMRI/lib/Slicer-4.10/cli-modules/DWIToDTIEstimation --help
The LibraryPaths
section in my Extensions-28257.ini
is following:
[LibraryPaths]
/path/to/.config/NA-MIC/Extensions-28257/UKFTractography/lib/Slicer-4.10
/path/to/.config/NA-MIC/Extensions-28257/UKFTractography/lib/Slicer-4.10/cli-modules
/path/to/.config/NA-MIC/Extensions-28257/UKFTractography/lib/Slicer-4.10/qt-loadable-modules
/path/to/.config/NA-MIC/Extensions-28257/DiffusionQC/lib/Slicer-4.10
/path/to/.config/NA-MIC/Extensions-28257/DiffusionQC/lib/Slicer-4.10/cli-modules
/path/to/.config/NA-MIC/Extensions-28257/DiffusionQC/lib/Slicer-4.10/qt-loadable-modules
/path/to/.config/NA-MIC/Extensions-28257/SlicerDMRI/lib/Slicer-4.10
/path/to/.config/NA-MIC/Extensions-28257/SlicerDMRI/lib/Slicer-4.10/cli-modules
/path/to/.config/NA-MIC/Extensions-28257/SlicerDMRI/lib/Slicer-4.10/qt-loadable-modules
/path/to/.config/NA-MIC/Extensions-28257/MarkupsToModel/lib/Slicer-4.10
/path/to/.config/NA-MIC/Extensions-28257/MarkupsToModel/lib/Slicer-4.10/cli-modules
/path/to/.config/NA-MIC/Extensions-28257/MarkupsToModel/lib/Slicer-4.10/qt-loadable-modules
/path/to/.config/NA-MIC/Extensions-28257/SegmentEditorExtraEffects/lib/Slicer-4.10
/path/to/.config/NA-MIC/Extensions-28257/SegmentEditorExtraEffects/lib/Slicer-4.10/cli-modules
/path/to/.config/NA-MIC/Extensions-28257/SegmentEditorExtraEffects/lib/Slicer-4.10/qt-scripted-modules
/path/to/.config/NA-MIC/Extensions-28257/DiffusionQC/lib/python2.7/site-packages
size=16
which evidently includes the directory of libvtkDMRI.so
that I defined manually.
Anyone got a fix for this?