编译redis时报错:zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory,执行:
# sudo make MALLOC=libc
- 1
即可成功
需要先运行“make distclean”,它设置删除所有早期的编译文件,然后运行“make”,这样就得到了redis服务器程序的新编译。
执行后成功编译redis
https://download.redis.io/releases
标签:10,No,make,redis,编译,报错,file,jemalloc From: https://www.cnblogs.com/exmyth/p/18134388