centos7.4编译reids4.0.2出现MALLOC=jemalloc错误
来源:互联网 发布:半自动咖啡机推荐 知乎 编辑:程序博客网 时间:2024/06/07 20:01
解决方法1:
我们使用默认allocator方式编译即可:
make MALLOC=libc
解决办法2:
下载安装jemalloc安装下呗: jemalloc5.0.1.tar.gz
解压进入目录运行./autogen.sh ,之后make && make install, so应该默认安装在/usr/local/lib
此时再进入redis4.0.2目录make MALLOC=jemalloc
成功编译~
万一有异常,将下面这段话加入到/etc/profile中,之后source /etc/profile,再编译redis试试哦。
LD_LIBRARY_PATH=/usr/local/libPATH=$PATH:$LD_LIBRARY_PATHexport PATH LD_LIBRARY_PATH
阅读全文
0 0
- centos7.4编译reids4.0.2出现MALLOC=jemalloc错误
- redis编译报致命错误:jemalloc/jemalloc.h:没有那个文件或目录
- redis编译报致命错误:jemalloc/jemalloc.h:没有那个文件或目录
- jemalloc 编译出错
- 编译redis-2.6.14出现"Newer version of jemalloc required",解决办法
- linux编译出现错误
- 编译出现的错误
- @override 出现编译错误
- 内核编译出现错误
- LaTeX编译出现错误?
- 编译A31S出现错误
- 编译内核出现错误
- jemalloc
- jemalloc
- jemalloc
- 编译tslib1.4出现错误undefined reference to rpl_malloc错误
- centos7 执行firewall-cmd --state出现错误
- centos7.1 QT5编译出现:cannot find -lGL 和 collect2:error:ld returned 1 exit status 错误
- 未优化的冒泡排序算法.c
- CS 400 8 Divisible 同余+模拟
- java字符串预习
- 原型链详解
- Fragment
- centos7.4编译reids4.0.2出现MALLOC=jemalloc错误
- linux进程地址空间
- 展讯平台android display驱动分析
- java注解
- 使用BottomTabBar实现底部导航,MVP网络框架,retrofit解析
- 洛谷 [P1403] 约数研究
- 在debian9上安装citrix receiver登录citrix虚拟桌面
- 优化后的排序冒泡排序算法.c
- 第一篇