Hi, Arnaud.
You can get the library you want installing a package for your Linux distribution. If you are using CentOS7 you can do this with the following command at terminal:
yum install mesa-libGLU
Remember you need to run this as root and pay attention to capital letters. If it is all you need, it should solve the error you pointed out. Perhaps, singularity will complain about other libraries. Just Google the library you need to find out the correct package you will have to install and repeat the procedure as necessary.
Good luck!
Enviado do Email para Windows 10
External Email - Use Caution
Hi,
Thank you for your quick response. Is there a way to have access to the definition of the official docker? I could also help to find which libraries are missing.
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-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Arnaud Boré <arnaud.b...@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
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer