Dwifslpreproc does not work

Dear experts,

FSL version: 6.0.5
Ubuntu 20.10 working on VMware workstation 16 player
mrtrix version: 3.0.2

I met an error when I run dwifslpreproc dwi_den_unr.mif DWI_out.mif -rpe_none -pe_dir ap.

Command: eddy --imain=eddy_in.nii --mask=eddy_mask.nii --acqp=eddy_config.txt --index=eddy_indices.txt --bvecs=bvecs --bvals=bvals --out=dwi_post_eddy --verbose

dwifslpreproc: [ERROR] eddy --imain=eddy_in.nii --mask=eddy_mask.nii --acqp=eddy_config.txt --index=eddy_indices.txt --bvecs=bvecs --bvals=bvals --out=dwi_post_eddy --verbose (dwifslpreproc:952)
dwifslpreproc: [ERROR] Information from failed command:
dwifslpreproc:
eddy: error while loading shared libraries: libniftiio.so.2: cannot open shared object file: No such file or directory
dwifslpreproc:
dwifslpreproc: [ERROR] For debugging, inspect contents of scratch directory: /home/wangzq/Desktop/dwifslpreproc-tmp-050AK1/

Then I cd to the /dwifslpreproc-tmp-050AK1/ file and run eddy --imain=eddy_in.nii --mask=eddy_mask.nii --acqp=eddy_config.txt --index=eddy_indices.txt --bvecs=bvecs --bvals=bvals --out=dwi_post_eddy.

Then I received an error:

eddy: error while loading shared libraries: libniftiio.so.2: cannot open shared object file: No such file or directory

Does anyone know how to solve this problem.
Thanks in advance.

1 Like

That’s an issue with FSL eddy which is called in dwifslpreproc. It’s probably best to ask on the FSL mailing list. It might be an issue with your libnifti similar to Bug #1907790 “error while loading shared libraries” : Bugs : xmedcon package : Ubuntu

Thank you very much. I tried this and it didn’t work either.
I will ask FSL and post their reply if it works.