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
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
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.
Thank you for help Arnaud
Le ven. 17 janv. 2020 12 h 00, Hoopes, Andrew AHOOPES@mgh.harvard.edu a écrit :
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 CautionDear 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
Unfortunately, I'm not sure if that original dockerfile is available anymore, but freeview was never intended to be run from that image anyway as X11 forwarding wasn't supported (maybe it is now though). I'd recommend following marcosm's suggestion of tackling the library errors as they appear. Installing xorg and mesa-libGLU should be a good place to start.
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 3:16 PM To: Freesurfer support list Subject: Re: [Freesurfer] freesurfer container - freeview error
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.
Thank you for help Arnaud
Le ven. 17 janv. 2020 12 h 00, Hoopes, Andrew <AHOOPES@mgh.harvard.edumailto:AHOOPES@mgh.harvard.edu> a écrit : 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.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Arnaud Boré <arnaud.bore@gmail.commailto: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
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu