centos安装redis报错 fatal error: jemalloc/jemalloc.h: No such file or directory #include <jemalloc/
2022/4/6 2:19:32
本文主要是介绍centos安装redis报错 fatal error: jemalloc/jemalloc.h: No such file or directory #include <jemalloc/,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
centos安装redis报错 :
[root@node01 redis-5.0.5]# make cd src && make all make[1]: Entering directory `/kkb/install/redis-5.0.5/src' CC Makefile.dep make[1]: Leaving directory `/kkb/install/redis-5.0.5/src' make[1]: Entering directory `/kkb/install/redis-5.0.5/src' CC adlist.o In file included from adlist.c:34:0: zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory #include <jemalloc/jemalloc.h> ^ compilation terminated. make[1]: *** [adlist.o] Error 1 make[1]: Leaving directory `/kkb/install/redis-5.0.5/src' make: *** [all] Error 2
解决方法:
[root@node01 redis-5.0.5]# make MALLOC=libc
问题解决:
这篇关于centos安装redis报错 fatal error: jemalloc/jemalloc.h: No such file or directory #include <jemalloc/的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2025-01-02阿里云Redis项目实战入门教程
- 2025-01-02阿里云Redis资料入门详解
- 2024-12-30阿里云Redis教程:新手入门指南
- 2024-12-27阿里云Redis学习入门指南
- 2024-12-27阿里云Redis入门详解:轻松搭建与管理
- 2024-12-27阿里云Redis学习:新手入门指南
- 2024-12-24Redis资料:新手入门快速指南
- 2024-12-24Redis资料:新手入门教程与实践指南
- 2024-12-24Redis资料:新手入门教程与实践指南
- 2024-12-07Redis高并发入门详解