c++ - 配置软件时出错

尝试配置软件时收到以下错误:

checking for vector... yes
checking for malloc in -ljemalloc... no
configure: error: Need jemalloc

网络上的解决方案无效。我尝试安装jemalloc-devel软件包,jemalloc,libjemalloc软件包,但它们不会安装。
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libjemalloc

安装libjemalloc1没有帮助。我仍然遇到相同的错误。
checking for vector... yes
checking for malloc in -ljemalloc... no
configure: error: Need jemalloc

机器是Ubuntu 15.04,带有gcc 4.9.2。谢谢。

最佳答案

系统中缺少软件包jemalloc 软件包。

https://stackoverflow.com/questions/33480931/

相关文章:

c++ - 声明和初始化struct类型变量时出错

c++ - ISO C++禁止在结构内初始化成员

java - 为什么我的代码会导致编译器错误?

c++ - C++错误,编译器无法识别字符串::push_back [closed]

c++ - g++,如何找到出错的地方?

c++ - 无法使用std::pair and constructors [closed]编译代码

compiler-errors - Vaadin 按钮单击监听器错误

c++ - C++基本内容。什么东西少了???不可能那么明显

c++ - 为什么我看到 “member function with the same name a

java - Java “try without catch”和 “catch without tr