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

darkmessenger

Registered
May 25, 2008
4
0
51
Greetings,

I have updated the curl in Centos 7 to a newer version since I read about memeory leak in 7.29 version but It broke out the system I wonder how to fix the problem.

I get this message when I try to use 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, Aug  7 2019, 00:51:29)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq
I cannot use
Code:
locate
since its not installed to find libnghttp2.so since it was mentioned in this thread and it didnt work out

any way to sort this out?

thanks
 

ganesankittan

Member
Jul 30, 2019
10
2
3
Coimbatore
cPanel Access Level
Website Owner
Hi @darkmessenger

It seems installed the dreadful repo and it breaks things. Need to download from the nearest CentOS mirror, the packages curl and lib curl that match the current version of CentOS (use rpm -qa \curl\ to get a list of the package names you need to download. Once downloaded, use rpm to install them using the --old_package that should be (i.e., rpm --install --old_package curl-7.19.7-53.el6_9.x86_64.rpm) switch to get it to replace allegedly newer versions.
Thanks,
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
If that doesn't work for you or if you're unsure how to proceed please open a ticket using the link in my signature. Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!
 

Kings

Registered
Dec 20, 2019
1
1
3
Taiwan
cPanel Access Level
Root Administrator
Have the same problem as darkmessenger's description

try use ganesankittan's recommendation run " rpm -qa \curl\ " , but get no list of package.

Expert found my server has an unsupported version of the curl and libcurl-devel packages installed .
Recommend downloaded the correct RPMs for these packages . replace the packages that were installed with the correct packages from the official CentOS repository .

The curl packages, the libnghttp2 library needed to be replaced with the default. After this yum should runs.
Run a yum update to ensure that the latest versions of the curl and libnghttp2 libraries were installed.


Hope this help for others

Thank you experts Samuel Martin and Mary Wior /Technical Analyst /cPanel, LLC for your kindly help.
 
Last edited:
  • Like
Reactions: cPanelLauren