C++链接mysql出现错误:

版权声明:技术交流可以私信 caoyong_work@outlook.com https://blog.csdn.net/weixin_40273809/article/details/81671347

C++链接mysql出现错误:
error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such file or directory
终端执行:

sudo apt-get install mysql-client mysql-server libmysqlclient-dev #libmysqlclient-dev

是安装mysql的C/C++库

阅读更多
换一批

没有更多推荐了,返回首页