Hi All,
How to fix this error:
"error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory.|
Im using centos7.
Best regards,
Marben
error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory
-
- Posts: 11
- Joined: 2019/10/19 11:18:28
Re: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory
Run yum provides '*/libdb-4.7.so' and it will tell you what provides that file so then you know what to install.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke
-
- Posts: 11
- Joined: 2019/10/19 11:18:28
Re: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory
Hi TrevorH,
IHere is the output of "yum provides '*/libdb-4.7.so'".
[marben@eda ~]$ yum provides '*/libdb-4.7.so'
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.pregi.net
* epel: fedora.ipserverone.com
* extras: mirror.pregi.net
* updates: mirror.pregi.net
compat-db47-4.7.25-28.el7.i686 : The Berkeley DB database 4.7.25 compatibility library
Repo : base
Matched from:
Filename : /usr/lib/libdb-4.7.so
compat-db47-4.7.25-28.el7.x86_64 : The Berkeley DB database 4.7.25 compatibility library
Repo : base
Matched from:
Filename : /usr/lib64/libdb-4.7.so
compat-db47-4.7.25-28.el7.i686 : The Berkeley DB database 4.7.25 compatibility library
Repo : @base
Matched from:
Filename : /usr/lib/libdb-4.7.so
What will I install from the output?
Please help.
Best regards,
Marben
IHere is the output of "yum provides '*/libdb-4.7.so'".
[marben@eda ~]$ yum provides '*/libdb-4.7.so'
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.pregi.net
* epel: fedora.ipserverone.com
* extras: mirror.pregi.net
* updates: mirror.pregi.net
compat-db47-4.7.25-28.el7.i686 : The Berkeley DB database 4.7.25 compatibility library
Repo : base
Matched from:
Filename : /usr/lib/libdb-4.7.so
compat-db47-4.7.25-28.el7.x86_64 : The Berkeley DB database 4.7.25 compatibility library
Repo : base
Matched from:
Filename : /usr/lib64/libdb-4.7.so
compat-db47-4.7.25-28.el7.i686 : The Berkeley DB database 4.7.25 compatibility library
Repo : @base
Matched from:
Filename : /usr/lib/libdb-4.7.so
What will I install from the output?
Please help.
Best regards,
Marben
-
- Posts: 11
- Joined: 2019/10/19 11:18:28
Re: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory
Hi TrevorH,
It works.
I use the command, "yum -y install compat-db47".
And it works like a charm.
Thank you much.
Best regards,
Marben
It works.
I use the command, "yum -y install compat-db47".
And it works like a charm.
Thank you much.
Best regards,
Marben