Yum Error : libnghttp2.so.14: cannot open shared object file

mahdy_sharifi

Well-Known Member
Feb 26, 2012
213
1
66
cPanel Access Level
Root Administrator
Hi :

I am get following error when run Yum
Code:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   libnghttp2.so.14: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.5 (default, Jun 20 2019, 20:27:34)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq
yum not working at all , I think client Updated Curl Manually , guide to fix it.
 
Last edited:

ganesankittan

Member
Jul 30, 2019
5
0
1
Coimbatore
cPanel Access Level
Website Owner
Hi @mahdy_sharifi ,

This error message indicates that the library file "libnghttp2.so.14"
are not located. You can check the exact location by "locate
libnghttp2.so.14" or also "ldconfig -v".

Also, Latest stable curl version is 7.22.0, but so far 7.19.7-16 is the
CentOS latest.
http://download.fedora.redhat.com/pub/fedora/linux/development/rawhide/x86_64/os/Packages/?P=*curl*

Code:
yum install epel-release -y
rpm -Uvh
http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-1-13.rhel6.noarch.rpm
yum update curl
Thanks,
 
Last edited by a moderator:

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
6,762
535
263
Houston
cPanel Access Level
DataCenter Provider
Hello,

I'm happy to see you were able to resolve this issue and thank you for letting us know how you fixed it.