redis安装失败

街头诗人1 2019-04-26 03:43:28
本人小白请问下各位大佬安装redis的错误

make[1]: Entering directory `/mnt/hgfs/jdk/redis-3.0.4/src'
CC adlist.o
/usr/libexec/gcc/i686-redhat-linux/4.4.7/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
make[1]: *** [adlist.o] 错误 1
make[1]: Leaving directory `/mnt/hgfs/jdk/redis-3.0.4/src'
make: *** [test] 错误 2
...全文
287 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
sorry_my_life 2019-05-11
  • 打赏
  • 举报
回复
你这个提示是缺少mpfr开发包,去安装一个, Debian、Ubuntu是apt install libmpfr-dev, CentOS、Redhat的是yum install libmpfr-devel或者yum install mpfr-devel

18,777

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧