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
apt-get install -y gcc g++ cmake make libaio1 libaio-dev libffi-dev libglib2.0-0 libglib2.0-dev
apt-get install -y gnupg2 && \ wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb && \ dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb && \ rm -f percona-release_latest.$(lsb_release -sc)_all.deb && \ apt-get update && \ apt-get install -y libperconaserverclient18.1-dev
cmake -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/usr/local/sqlparser ./ && \ make && make install && \ cd sqladvisor/ && \ cmake -DCMAKE_BUILD_TYPE=debug ./
ln -sf /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h /usr/local/sqlparser/include/glibconfig.h
make && \ mv /opt/SQLAdvisor/sqladvisor/sqladvisor /bin && \ rm -rf /opt/SQLAdvisor/
The text was updated successfully, but these errors were encountered:
请问答主安装成功了嘛 我遇到cannot find -lperconaserverclient_r 这个错误 不知道怎么解决
Sorry, something went wrong.
成功了的
按照上面的文档,依然安装不成功,只需要对官方的步骤做下修改即可。 改动部分:
yum | apt-get install --enablerepo=Percona56 Percona-Server-shared-56 调整为:
No branches or pull requests
完整的安装步骤:
安装依赖
安装 libperconaserverclient18.1-dev
编译
添加 glibconfig.h 软连接
继续安装
The text was updated successfully, but these errors were encountered: