centos7 安装最后一步报错了,怎么解决?
tiansong123 opened this issue · 3 comments
tiansong123 commented
报错如下:
make
Linking CXX executable sqladvisor
/usr/bin/ld: cannot find -lperconaserverclient_r
collect2: error: ld returned 1 exit status
make[2]: *** [sqladvisor] Error 1
make[1]: *** [CMakeFiles/sqladvisor.dir/all] Error 2
make: *** [all] Error 2
jackgxl commented
yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm
yum install Percona-Server-shared-56.x86_64
然后再make即可
tonsonmiao commented
我也出现了这样的问题,且按照您的方式处理,并没有修复,还有别的处理办法吗 @jackgxl
jackgxl commented
有错误详情吗?如果是同样的错误 确定下缺不缺其他安装依赖包,上面就是一个依赖包。