本人小白請問下各位大佬安裝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
uj5u.com熱心網友回復:
你這個提示是缺少mpfr開發包,去安裝一個,Debian、Ubuntu是apt install libmpfr-dev,
CentOS、Redhat的是yum install libmpfr-devel或者yum install mpfr-devel
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/129464.html
標籤:專題技術討論區
上一篇:CentOS中安裝gdb
