Salome on Ubuntu 20.04
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.
Hi everybody,
I decided to initiate this thread because I havne't seem any about how or when it would be possible to install Salome on Ubuntu 20.04.
By now if you download the Universal Linux Binary, unpack and try to run it, it gives lots of error message. If someone had a different result or maybe could give some comment about the installing of Salome 9.5 on Ubuntu 20.04 I would appreciate.
Regards.
Hi Thiago, can you share the error messages you report about with the universal linux binary ?
Thanks
In case the experienced issues are about graphics libraries, you can use the embedded libraries which are shipped with the universal binary archives.
To link against these libraries, you need to uncomment this line in salome script file:
context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-CO7/system_dep/gl")
HTH
Hi Nabil,
Sorry not posting the error message. I did what you suggested and now Salome 9.5 (Universal Linux Binary) its running nicely on my Ubuntu 20.04.1 LTS. Thank you.
I post bellow the errors messages I found and the solutions in the case of others find the same problems.
First error trying to run:
runSalome running on thiago-Inspiron-5557
Error when trying to access active network connections.
Traceback (most recent call last): ...
SOLUTION: install net-tools - don't know why, just found in Google...
Second error trying to run:
runSalome running on thiago-Inspiron-5557
Searching for a free port for naming service: 2811 - OK
Searching Naming Service + found in 0.1 seconds
SALOME_Session_Server: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/home/thiago/SALOME-9.5.0/BINARIES-CO7/KERNEL/bin/salome/orbmodule.py", line 181, in waitNSPIDos.kill(thePID,0)
ProcessLookupError: [Errno 3] No such process
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/thiago/SALOME-9.5.0/BINARIES-CO7/KERNEL/bin/salome/runSalome.py", line 680, in useSalome
clt = startSalome(args, modules_list, modules_root_dir) File "/home/thiago/SALOME-9.5.0/BINARIES-CO7/KERNEL/bin/salome/runSalome.py", line 625, in startSalome session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
File "/home/thiago/SALOME-9.5.0/BINARIES-CO7/KERNEL/bin/salome/orbmodule.py", line 183, in waitNSPID raise RuntimeError("Process %d for %s not found" % (thePID,theName))
RuntimeError: Process 9354 for /Kernel/Session not found
Searching /Kernel/Session in Naming Service
--- Error during Salome launch ---
I successfully run Salome from universal binaries after enabling system_dep/gl, but cannot open user guides. When I click on Help, then on any of the User's guide modules, nothing happens.
This tool has been deprecated, use 'gio open' instead.
See 'gio help open' for more info.
can you try the following:
- File -> Preferences -> General - External browser use another browser than firefox like e.g Konqueror
It works in my case with this browser. The issue seems to be linked with .so mismatch in case of firefox which is the default browser.
Hi Thiago Parente Lima ,
Good Evening, I have got the same error while launching salome on Ubuntu 20.04. Can you please help me out about the error i am facing.
I am posting down the error i have got:
areddy1@DESKTOP-TAVMR05:~$ cd SALOME-9.6.0-UB20.04-SRC/areddy1@DESKTOP-TAVMR05:~/SALOME-9.6.0-UB20.04-SRC$ lsARCHIVES PROJECT SALOME_9_6_0_Release_Notes.pdf binsalome install_bin.sh salome satBINARIES-UB20.04 README SOURCES env_launch.sh mesa_salome salomeToolsareddy1@DESKTOP-TAVMR05:~/SALOME-9.6.0-UB20.04-SRC$ ./salomerunSalome running on DESKTOP-TAVMR05Searching for a free port for naming service: 2831 - OKSearching Naming Service +++ found in 0.30000000000000004 secondsSALOME_ConnectionManagerServer: /home/areddy1/OpenFOAM/OpenFOAM-v2012/ThirdParty/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/lib/salome/libSalomeNS.so)Searching /Kernel/Session in Naming Service ++SALOME_LauncherServer: /home/areddy1/OpenFOAM/OpenFOAM-v2012/ThirdParty/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/lib/salome/libSalomeLauncher.so)SALOME_LauncherServer: /home/areddy1/OpenFOAM/OpenFOAM-v2012/ThirdParty/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/lib/salome/libSalomeSDS.so)SALOME_LauncherServer: /home/areddy1/OpenFOAM/OpenFOAM-v2012/ThirdParty/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/lib/salome/libSalomeContainer.so)SALOME_LauncherServer: /home/areddy1/OpenFOAM/OpenFOAM-v2012/ThirdParty/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/lib/salome/libSalomeResourcesManager.so)SALOME_LauncherServer: /home/areddy1/OpenFOAM/OpenFOAM-v2012/ThirdParty/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/LIBBATCH/lib/libbatch.so)SALOME_LauncherServer: /home/areddy1/OpenFOAM/OpenFOAM-v2012/ThirdParty/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/lib/salome/libSalomeNS.so)++++++SALOME_Session_Server: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directoryTraceback (most recent call last):File "/home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/bin/salome/orbmodule.py", line 181, in waitNSPIDos.kill(thePID,0)ProcessLookupError: [Errno 3] No such processDuring handling of the above exception, another exception occurred:Traceback (most recent call last):File "/home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/bin/salome/runSalome.py", line 694, in useSalomeclt = startSalome(args, modules_list, modules_root_dir)File "/home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/bin/salome/runSalome.py", line 639, in startSalomesession=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)File "/home/areddy1/SALOME-9.6.0-UB20.04-SRC/BINARIES-UB20.04/KERNEL/bin/salome/orbmodule.py", line 183, in waitNSPIDraise RuntimeError("Process %d for %s not found" % (thePID,theName))RuntimeError: Process 467 for /Kernel/Session not found--- Error during Salome launch ---areddy1@DESKTOP-TAVMR05:~/SALOME-9.6.0-UB20.04-SRC$Please help me out.RegardsAbhilash
Hi Abhilash (you sent me a private message, but I reply here to share the information)
looking at the trace, it seems that your problem is more about a conflict in your LD_LIBRARY_PATH:
/home/areddy1/OpenFOAM/OpenFOAM-v2012/ThirdParty/platforms/linux64/gcc-6.3.0/lib64
you need to start SALOME in a fresh shell environment which does not conflict
In addition, you seem to be missing some graphics library:
libGLU.so.1: cannot open shared object file: No such file or directory
you can use apt-file find libGLU.so.1
and install the package (maybe libglu1-mesa)
In case you're still experiencing issues, you can use the universal Linux binary.
HTH
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.