Phython3 error messsage

I have installed SALOME-9.14.0 on Ubuntu 22.04. I ran the sat config check ./sat config SALOME-9.14.0-native --check_system and every dependency was listed as ok. When I ran Salome I got the following error:

./salome
python3: error while loading shared libraries: libpython3.6.so.1.0: cannot open shared object file: No such file or directory

Any suggestions?

Hi Bill,
did you download the universal binary (SALOME-9.14.0.tar.gz) or the Ubuntu 22.04 (SALOME-9.14.0-native-UB22.04-SRC.tar.gz)
For the latter, you have to run:
sat/sat config SALOME-9.14.0-native --check_system
and install the reported missing packages.

If you’re using the universal binary, then you simply need to run the embedded script run_salome.sh which will then bootstrap the embedded python.

HTH.

HI Nabil:

Thanks so much for your help, I solved the problem. I had downloaded the Ubuntu 22.04 binary and ran the command you suggested but had the problem. I then downloaded the universal binary and ran the run_salome.sh script. It showed me that it was looking at SALOME-9.6.0-UB20.04 and I realized that directory was in my path. I removed it and everything seems to work just fine.

You can consider this issue resolved.

1 Like