我试图在我的Ubuntu上安装Openconnect,首先我必须编译它,但是每次我运行./configure时都会遇到两个错误:
configure: WARNING: ***
*** libprotobuf-c was not found.
***
checking for libev... no
configure: error: ***
*** libev4 was not found.
***当我尝试安装libprotobuf-c时,我得到以下输出
root@MY_VPS_NAME:~# apt install libprotobuf-c
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libprotobuf-c当我试图安装libev4时,我得到以下输出:
root@MY_VPS_NAME:~# apt install libev4
Reading package lists... Done
Building dependency tree
Reading state information... Done
libev4 is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@MY_VPS_NAME:~# VPS正在运行: ubuntu-15.04-x86_64 -谢谢,~WC
发布于 2016-02-25 10:23:47
protobuf包现在被称为libprotobuf-c1。libev4在那里,如果您不能安装它,您就会遇到一般的存储库问题。
您的Ubuntu15.04已经过时,请升级到15.10。这可能是丢失包的原因。
发布于 2018-07-28 02:28:58
我在Ubuntu18.04中遇到了同样的问题,我安装了libev-dev来修复它。
https://askubuntu.com/questions/738886
复制相似问题