Hi,
I am using 3D Slicer 5.2.2 r31382 / fb46bd1 on an Ubuntu 22.04 machine. I am trying to launch the DWIConvert
process from the command line:
$DWIConvert --conversionMode FSLToNrrd --outputVolume $DWI --fslNIFTIFile $fslNIFTIFile --outputDirectory . --smallGradientThreshold 0.2 --transposeInputBVectors --inputBValues $inputBValues --inputBVectors $inputBVectors --outputDirectory . --smallGradientThreshold 0.2 --transposeInputBVectors --allowLossyConversion
where $DWIConvert
points to /opt/Slicer-5.2.2-linux-amd64/lib/Slicer-5.2/cli-modules/DWIConvert
in my Slicer installation, and the rest of the parameters having some appropriate values.
The command exits with the following error:
/opt/Slicer-5.2.2-linux-amd64/lib/Slicer-5.2/cli-modules/DWIConvert: error while loading shared libraries: libITKFactoryRegistration.so: cannot open shared object file: No such file or directory
A find
command on the library shows that it is there:
$ find /opt/Slicer-5.2.2-linux-amd64 -name *libITKFactoryRegistration*
/opt/Slicer-5.2.2-linux-amd64/lib/Slicer-5.2/libITKFactoryRegistration.so
Even when adding the Slicer root folder to the PATH` the library is not found.
How can this be fixed?
Thanks.