We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
我出现上面问题是因为我的linux上已经安装了mysql 我的操作是: 1 . rpm -qa |grep mysql 查看mysql
3, 再次安装Percona-Server-shared-56 成功
重新建立连接
成功
其实主要是 ln -s libperconaserverclient_r.so.18 libperconaserverclient_r.so 没有成功建立连接(虽然有libperconaserverclient_r.so文件)
The text was updated successfully, but these errors were encountered:
使用 yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm 后 再用yum update 更新 在安装 yum install Percona-Server-shared-56 就可以建立 ln -s libperconaserverclient_r.so.18 libperconaserverclient_r.so 亲测。
今天用docker 弄了个镜像 确定有用。。docker 镜像地址 镜像地址
Sorry, something went wrong.
https://github.com/bbotte/SQLAdvisor/tree/master/use-directly 不用编译安装,我编译好的,可以直接用
No branches or pull requests
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
我出现上面问题是因为我的linux上已经安装了mysql
我的操作是:
1 . rpm -qa |grep mysql 查看mysql
3, 再次安装Percona-Server-shared-56 成功
重新建立连接
成功
其实主要是 ln -s libperconaserverclient_r.so.18 libperconaserverclient_r.so 没有成功建立连接(虽然有libperconaserverclient_r.so文件)
The text was updated successfully, but these errors were encountered: