SA-MP Forums Archive
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) (/showthread.php?tid=632508)



Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) - ax1 - 15.04.2017

I get this when I try to run server
Code:
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
I looked at this tutorial https://sampforum.blast.hk/showthread.php?tid=537714 but the links there are outdated, also mine libmysqlclient should be 18, and in that tutorial links are only for 16 15 14


Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) - CJ101 - 15.04.2017

Use the mysql static plugin.


Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) - ax1 - 15.04.2017

Quote:
Originally Posted by CJ101
View Post
Use the mysql static plugin.
You mean this? : https://github.com/pBlueG/SA-MP-MySQL/releases (mysql-R41-2-Debian8-static.tar.gz)
I get this error with it
Code:
Failed (/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by plugins/mysql.so))



Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) - ax1 - 16.04.2017

As far as I understand I need libmysqlclient.so.18 file, right? I tried to download this one : https://rpmfind.net/linux/RPM/opensu...1.aarch64.html but its in .rpm format which I dont know how to open


Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) - Astralis - 16.04.2017

yum install libstdc++.so.6

yum install libmysqlclient.so.18

http://forum.sa-mp.com/showpost.php?...75&postcount=7


Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) - ax1 - 16.04.2017

Quote:
Originally Posted by Astralis
View Post
yum install libstdc++.so.6

yum install libmysqlclient.so.18

http://forum.sa-mp.com/showpost.php?...75&postcount=7
download link doesnt work anymore in that thread


Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) - ax1 - 16.04.2017

I just noticed that there are 2 files mysql.so and mysql_static.so
Now I load them both, should I load only mysql_static.so? When I load only mysql_static I dont get the error


Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) - ev0lution - 16.04.2017

Don't download .so files from random sources.

libmysqlclient is available for all major Linux distros. On Debian/Ubuntu, the package is called "libmysqlclient-dev". On CentOS, it's called "mysql-libs".

Install those and you should be good to go.