curl需要未知的librasolv.so.2

问题描述 投票:0回答:1

执行curl时会发生此错误:

curl: error while loading shared libraries: librasolv.so.2: cannot open shared object file: No such file or directory

我搜索过这个库,但它在我的系统中没有(Raspberry Pi)。

Linux ... 4.14.72-v7+ #1146 SMP Wed Sep 26 16:58:28 BST 2018 armv7l GNU/Linux

(我已经执行了“ldconfig”并且系统正在更新)

pi@sys ~ $ sudo apt-get install --reinstall curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not  upgraded.
Need to get 0 B/197 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 110863 files and directories currently installed.)
Preparing to unpack .../curl_7.38.0-4+deb8u13_armhf.deb ...
Unpacking curl (7.38.0-4+deb8u13) over (7.38.0-4+deb8u13) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Setting up curl (7.38.0-4+deb8u13) ...
pi@sys ~ $ curl
curl: error while loading shared libraries: librasolv.so.2: cannot open shared object file: No such file or directory

我在这里找到了这个库:https://packages.debian.org/stretch/all/libc6-armel-cross/filelist但我没有安装它

curl
1个回答
0
投票
# apt-get install --reinstall libldap-2.4-2
© www.soinside.com 2019 - 2024. All rights reserved.