未找到 libprotobuf-c 和 libev4

未找到 libprotobuf-c 和 libev4

我正在尝试在我的 Ubuntu VPS 上设置 Openconnect 服务器,首先我必须编译它,但每次运行时./configure都会出现 2 个错误:

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

答案1

protobuf 包现在称为libprotobuf-c1。 在libev4那里,如果您无法安装它,则您有通用存储库问题。
您的 Ubuntu 15.04 已过时,请升级到 15.10。 这可能是缺少软件包的原因。

答案2

我在 Ubuntu 18.04 中遇到了同样的问题,并且我安装了它libev-dev来修复它。

相关内容