Redis 2.6.9 安装报错一例

liuweixiao0 2014-05-20

Redis 2.6.9 安装报错,提示:

zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory
zmalloc.h:55:2: error: #error "Newer version of jemalloc required"
make[1]: *** [adlist.o] Error 1
make[1]: Leaving directory `/data0/src/redis-2.6.2/src'
make: *** [all] Error 2

解决办法是:

make MALLOC=libc

Redis 的详细介绍:请点这里
Redis 的下载地址:请点这里

相关推荐

DiamondTao / 0评论 2020-08-30