I'm getting an error at runtime when running a vendor program. I've been getting several dynamic lib errors, and have been walking through and solving each one. I am stuck on 'python3'
I am running CentOS 7.6.
The error I am getting is:
error while loading shared libraries: libpython3.so: cannot open shared object file: No such file or directory
Usually I expect to search for the package, install it, and then add any paths as necessary.
- I tried ldd, but the vendor file isn't a dynamic executable.
- LD_LIBARY_PATH is set to /user/local/lib:/opt/lib:/usr/lib:/lib
- If I run python3.6 -V, I get 'Python 3.6.7' which indicates python 3.* is installed.
- I search from / for: python3*so and there are no libraries on my disk
Searches reveal specific python library versions, but not a generic python3, I'm missing something. How do I install and resolve the python3 library dependency?
python3-3.3.2
, currentlypython3-3.3.2-12.el7.x86_64
, and the connectedpython3-libs-3.3.2
provides libpython3.so. The version you have is a non-standard ? How was it installed ? If it was a package, you can do like$ rpm -qa | grep -i python3
... to get the package name.python36u-libs-3.6.7-1.ius.el7.x86_64
provides/usr/lib64/libpython3.6m.so.1.0
. ... You can try making a symlink :# cd /usr/lib64/ && ln -s libpython3.6m.so.1.0 libpython3.so
... ... May work, or may not work with your program.libpython3.so
by default. About "AdditionalResources" wiki.centos.org/AdditionalResources/Repositories → "The ... warnings about updates and priorities should still be heeded."