Salome issue with loading Binaries
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.
I've installed Salome 9.7.0 onto Ubuntu 20.04 using package specific to my OS. I followed the instructions on the download pack and installed any additional packages I was missing. I can get Salome started without errors. An issue comes up when I try to use some of the binaries. Most load and work fine, but I've listed the ones with problems below.
Geometry
Mesher
Hexablock
Homard
Hello
They all have the same message, I've attached a screenshot of an example for Geomerty and have written it as seen below.
"Can not load library libGEOM.so. libOpenGL.so.0: cannot open shared object file: No such file or directory"
I checked in the binaries file under the Salome folder and each of the problematic binaries have that file within their structure. I've compared the location of that file to that of the working binaries, and it there is no difference in their structure. This makes me think that something is wrong with the libOpenGL.so file in that it's pointing to the wrong location, but I haven't really dealt with this kind of issue before.
I look forward to seeing the suggestions, and I appreciate your help!
Thank you
hi,
you need to install the package which ships this shared library. So in a terminal, assuming tha install apt-file si installed, search for package which contains the libOpenGL.so. On my VM, I can see that I need to install libopengl0
For instance in m-y case:
nitawa@salome-q:~$ sudo apt-get install apt-file
nitawa@salome-q:~$ sudo apt update
nitawa@salome-q:~$ sudo apt-file find /usr/lib/x86_64-linux-gnu/libOpenGL.so
libopengl-dev: /usr/lib/x86_64-linux-gnu/libOpenGL.so
libopengl0: /usr/lib/x86_64-linux-gnu/libOpenGL.so.0
libopengl0: /usr/lib/x86_64-linux-gnu/libOpenGL.so.0.0.0
nitawa@salome-q:~$ sudo apt-get install libopengl0
Hi Nabil, your solution worked perfectly, everything operates as it should now. Thanks a lot for the help!
Previously Nabil Ghodbane wrote:
hi,
you need to install the package which ships this shared library. So in a terminal, assuming tha install apt-file si installed, search for package which contains the libOpenGL.so. On my VM, I can see that I need to install libopengl0
For instance in m-y case:
nitawa@salome-q:~$ sudo apt-get install apt-file
nitawa@salome-q:~$ sudo apt update
nitawa@salome-q:~$ sudo apt-file find /usr/lib/x86_64-linux-gnu/libOpenGL.so
libopengl-dev: /usr/lib/x86_64-linux-gnu/libOpenGL.so
libopengl0: /usr/lib/x86_64-linux-gnu/libOpenGL.so.0
libopengl0: /usr/lib/x86_64-linux-gnu/libOpenGL.so.0.0.0
nitawa@salome-q:~$ sudo apt-get install libopengl0
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.