首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >找不到libprotobuf c& libev4

找不到libprotobuf c& libev4
EN

Ask Ubuntu用户
提问于 2016-02-25 09:42:08
回答 2查看 4.4K关注 0票数 3

我试图在我的Ubuntu上安装Openconnect,首先我必须编译它,但是每次我运行./configure时都会遇到两个错误:

代码语言:javascript
复制
configure: WARNING: ***
*** libprotobuf-c was not found.
***
checking for libev... no
configure: error: ***
*** libev4 was not found.
***

当我尝试安装libprotobuf-c时,我得到以下输出

代码语言:javascript
复制
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时,我得到以下输出:

代码语言:javascript
复制
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

EN

回答 2

Ask Ubuntu用户

回答已采纳

发布于 2016-02-25 10:23:47

protobuf包现在被称为libprotobuf-c1libev4在那里,如果您不能安装它,您就会遇到一般的存储库问题。

您的Ubuntu15.04已经过时,请升级到15.10。这可能是丢失包的原因。

票数 2
EN

Ask Ubuntu用户

发布于 2018-07-28 02:28:58

我在Ubuntu18.04中遇到了同样的问题,我安装了libev-dev来修复它。

票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/738886

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档