安装Redis报错jemalloc/jemalloc.h: No such file or directory

原因:

之前编译Redis失败,例如没装pkg-config插件。等到装好pkg-config后再次编译Redis就会报这个错,因为上次编译失败时残留了缓存文件。

 

解决方法:

先清除了残留文件再重新编译:

make distclean && make

 

posted @ 2022-01-10 03:06  Clotho_Lee  阅读(276)  评论(0)    收藏  举报