nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation
大家在debian中安装PHP或使用curl git等遇到以下报错
symbol lookup error: /lib/x86_64-linux-gnu/libcurl-gnutls.so.4: undefined symbol: nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation
这个直接去curl官网下载最新版本的便宜安装即可
比如:
Bash
wget https://curl.se/download/curl-8.9.0.tar.gz
tar zxvf curl-8.9.0.tar.gz
cd curl-8.9.0/
./configure --disable-shared --with-nghttp2 --with-gnutls --with-openssl --with-bearssl --with-amissl --with-mbedtls --with-schannel --with-secure-transport
make
make install
make clean
完成
下载和编译nghttp2
Bash
git clone https://github.com/nghttp2/nghttp2.git
cd nghttp2
autoreconf -i
automake
autoconf
./configure
make
make install
make clean
如果依旧不行请尝试以下方法:
Bash
where curl
ldd /usr/bin/curl
mv /usr/local/lib/libnghttp2.so.14 /usr/local/lib/libnghttp2.so.14.bak
ldconfig
然后尝试一下。
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权本站发表,未经许可,不得转载。
上一篇:外贸建站事项 下一篇:关于wordpress更换域名
发表评论:
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。