Как связать curl и nghttp2 в CentOS6? - PullRequest
0 голосов
/ 16 апреля 2020

В CentOS7 я пытаюсь обновить curl, и он автоматически связывается с nghttp2.
В CentOS6 я делаю то же, что и шаги, он не просыпается.
Как мне это связать? спасибо.

CentOS7

[xxx]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[xxx]# curl -V
curl 7.69.1 (x86_64-redhat-linux-gnu) libcurl/7.69.1 NSS/3.44 zlib/1.2.7 libpsl/0.7.0 (+libicu/50.1.2) libssh2/1.9.0 nghttp2/1.31.1
Release-Date: 2020-03-11
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz Metalink NTLM NTLM_WB PSL SPNEGO SSL UnixSockets


CentOS6

[xxx]# cat /etc/redhat-release
CentOS release 6.10 (Final)
[xxx]# curl -V
curl 7.69.1 (x86_64-redhat-linux-gnu) libcurl/7.69.1 OpenSSL/1.0.1e-fips zlib/1.                 2.3 c-ares/1.16.0 libssh2/1.8.2
Release-Date: 2020-03-11
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s                  rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTPS-proxy IPv6 Kerberos Largefile libz Metalink NT                 LM NTLM_WB SPNEGO SSL UnixSockets
[xxx]# yum list libnghttp2
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.cs.nctu.edu.tw
 * epel: hk.mirrors.thegigabit.com
 * extras: centos.cs.nctu.edu.tw
 * updates: centos.cs.nctu.edu.tw
Installed Packages
libnghttp2.x86_64                             1.6.0-1.el6.1                             installed
Available Packages
libnghttp2.i686                               1.6.0-1.el6.1                             epel
...