I use Ubuntu 22.10 via a virtual machine VMware.
I have follow the installation guide, all is ok when I check the system with
./sat/sat config SALOME-9.9.0-native --check_system
But I have an error message when running ./salome or ./mesa_salome
SALOME_Session_Server_No_Server: error while loading shared libraries: libgdal.so.30: cannot open shared object file: No such file or directory
I see that I have a libgal.so.31, libgal.so.31.0.1 and ligdal.so
in my system installed in usr/lib/x86_64-linux-gnu but no libgdal.30.
What can I do ?
Nobody has meet this issue?
I am not really experienced in Linux OS. Maybe the issue is not related to Salome, just a variable definition, but I don’t know how to solve this.
it seems that the version of gdal differs between 22.04 and 22.10 which uses libgdal31.
- compile again SALOME on this platform and share your experience.
- see if with apt, you cannot simply uninstall gdal31 and install gdal30
- try a quick but dirty trick and see if it helps
Easiest would be to try second approach, but if you choose the third approach, here is what you need to do:
mkdir -p SALOME-9.9.0-native-UB22.04-SRC/BINARIES-UB22.04/gdal/lib
ln -sf /usr/lib/libgdal.so.31 libgdal.so.30
Then edit file
mesa_salome and right after:
context.setVariable(r"LD_LIBRARY_PATH", out_dir_Path + r"/BINARIES-UB22.04/CAS/lib", overwrite=True)
context.addToLdLibraryPath(out_dir_Path + r"/BINARIES-UB22.04/gdal/lib")
you can also try to use the version Linux Universal which comes with all the required librairies.
Thank you for your answer.
I switch for the Linux unversal version