首页 > 数据库> > centos安装redis报错 fatal error: jemalloc/jemalloc.h: No such file or directory #include <jemalloc/
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
问题解决:
标签:5.0,src,centos,make,redis,报错,directory,jemalloc 来源: https://www.cnblogs.com/j-y-s/p/16103985.html