Hi Arnaud,
If you want to forward graphics from singularity, you will probably need to install some extra libraries in the container. I've never actually tested this, so I'm not even sure that it's possible, but according to singularity's doc at https://singularity-tutorial.github.io you should at least try to install xorg and work from there.
best Andrew
________________________________________ From: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu on behalf of Arnaud Boré arnaud.bore@gmail.com Sent: Friday, January 17, 2020 11:34 AM To: Freesurfer support list Subject: [Freesurfer] freesurfer container - freeview error
External Email - Use Caution
Dear Freesurfer' experts,
I've created a singularity container from the official docker hub freesurfer repository (https://hub.docker.com/r/freesurfer/freesurfer)
When running: singularity exec freesurfer.sif freeview I get this error:
freeview_bin: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No suche file or directory.
I would like to know if this is something related to the containers or the host computer and some tips to fix this. I tested the singularity on different computers/laptops and ended up with the same error so I think there is an issue with the singularity/docker container.
Thank you in advance Arnaud