Given the current order to work from home from UNIGE, I have tried to run FreeSurfer’s FreeView GUI on Baobab’s login node (rather than on a dedicated machine at unige that I can’t access remotely). I first enable FreeSurfer as recommended on the uni’s gitlab:
Then, when I try to run freeview, I get the following error:
freeview.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
I realize that this is not strictly related to the HPC, but given that I’m kind of stuck… I was wondering whether anyone attempted that and solved the same issue.
encountered a similar problem, when I tired to install Freesurfer on my local Linux machine. The problem was that the library that was dealing with png file formats were not up to date. I was using Ubuntu 18.04, which I believe had an older version than what Freesurfer 6 required and I had to install it manually.
Boabab is on Centos 6, and I am not sure which version of libpng it has (quick googling showed 1.2, but I am not exactly sure). Maybe it is not even installed, then you can try install it yourself with
yum install libpng-devel
It might be you will need to have sudo privileges and I am not sure, if you can install packages yourself in Baobab.
Sorry, not much of help but you may give it a try until someone more knowledgeable responses.
Please note that as you could see, the ${PACKAGE} version is different from the ${LIBRARY_NAME}, because the latter used the SONAME (cf. soname - Wikipedia ).
Thank you for your very fast answers. Luca, you were right that changing the version of FreeSurfer fixed my issue with FreeView, which I can now run using X2go.
However, when trying to run the recon-all FreeSurfer pipeline on the cluster “as usual”, with version 6.0.1, I encountered the following error message:
GNU libc version: 2.17
ERROR: Systems running GNU glibc version greater than 2.15
require a newly formatted license file (it's free). Please
download a new one from the following page:
http://surfer.nmr.mgh.harvard.edu/registration.html
That is not a blocking issue for me, as I intend to reconstruct all MRIs in my study with the same version of freesurfer anyway, but I just wanted to let you know.