CENTOS7 curl duplicated library libnghttp2.so.14 error

cerader

Registered
Apr 13, 2020
2
0
1
Yorkshire
cPanel Access Level
Root Administrator
I have a particular error with httpd crashing which I wish to eliminate - I have the following error from from /var/log/apache2/error_log

[Sun Apr 12 20:12:06.881591 2020] [cgi:error] [pid 2116] [client 35.229.107.104:40917] AH01215: PHP Warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/curl.so' - libnghttp2.so.14: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56

When I check out curl.so I get a
libnghttp2.so.14 => not found entry
but also in the same output below there is another entry
libnghttp2.so.14 => /opt/cpanel/nghttp2/lib/libnghttp2.so.14 (0x00007f1548a63000)
This file does exist.

The ldd command for version 7.0 curl.so (/opt/cpanel/ea-php56/root/usr/lib64/php/modules/curl.so) is OK.

Please can anyone explain the duplication in the executable object and /or provide a solution. I can't see anything else specific to this problem elsewhere.

Many thanks

===============
ldd /opt/cpanel/ea-php56/root/usr/lib64/php/modules/curl.so
linux-vdso.so.1 => (0x00007ffcd37f1000)
libcurl.so.4 => /opt/cpanel/libcurl/lib64/libcurl.so.4 (0x00007f154a68c000)
libnghttp2.so.14 => not found
libssh2.so.1 => /lib64/libssh2.so.1 (0x00007f154a455000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f154a208000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f1549f1f000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f1549cec000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f1549ae8000)
libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f1549893000)
liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f1549684000)
libz.so.1 => /lib64/libz.so.1 (0x00007f154946e000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f1549269000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f154904d000)
libc.so.6 => /lib64/libc.so.6 (0x00007f1548c8a000)
libnghttp2.so.14 => /opt/cpanel/nghttp2/lib/libnghttp2.so.14 (0x00007f1548a63000)
libssl.so.1.0.0 => /opt/cpanel/ea-openssl/lib64/libssl.so.1.0.0 (0x00007f15487f2000)
libcrypto.so.1.0.0 => /opt/cpanel/ea-openssl/lib64/libcrypto.so.1.0.0 (0x00007f154839f000)
libbrotlidec.so.1 => /opt/cpanel/ea-brotli/lib/libbrotlidec.so.1 (0x00007f154817d000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007f1547f0b000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f1547aaa000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f154789b000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f1547697000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f154747d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f154ab2c000)
libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f154725f000)
libssl3.so => /lib64/libssl3.so (0x00007f1547013000)
libsmime3.so => /lib64/libsmime3.so (0x00007f1546dec000)
libnss3.so => /lib64/libnss3.so (0x00007f1546ac1000)
libnssutil3.so => /lib64/libnssutil3.so (0x00007f1546894000)
libplds4.so => /lib64/libplds4.so (0x00007f1546690000)
libplc4.so => /lib64/libplc4.so (0x00007f154648a000)
libnspr4.so => /lib64/libnspr4.so (0x00007f154624c000)
libm.so.6 => /lib64/libm.so.6 (0x00007f1545f49000)
libbrotlicommon.so.1 => /opt/cpanel/ea-brotli/lib/libbrotlicommon.so.1 (0x00007f1545d29000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f1545b02000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f15458ca000)
librt.so.1 => /lib64/librt.so.1 (0x00007f15456c2000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f154545f000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007f154525c000)
 

cerader

Registered
Apr 13, 2020
2
0
1
Yorkshire
cPanel Access Level
Root Administrator
UPDATE: Having gone round in circles for the last few days I finally found an idea within this site which lead me to rebuild the EasyApache4 profile.

So logging onto my server on WHM and accessing Home »Software »EasyApache 4 I basically updated the installation and now the executable has been rebuilt and successfully locates the 'missing' library.

Many thanks
.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,250
313
Houston
I'm glad you were able to resolve the issue, I was looking at the packages required for this and it seems that you should have at least the following:

Code:
libnghttp2-1.31.1-2.el7.x86_64
ea-nghttp2-1.40.0-2.2.4.cpanel.x86_64
ea-libnghttp2-1.40.0-2.2.4.cpanel.x86_64