SA-MP Forums Archive
mysql - libmysqlclient_r.so.16 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql - libmysqlclient_r.so.16 (/showthread.php?tid=590730)



mysql - libmysqlclient_r.so.16 - [S-G]Cypher - 03.10.2015

I have a problem with this error, whenerver I start a samp server on my localhost it works fine and loads everything fine. but when I try to start a server on hosting and make it online i get this error

Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)

I tried to update a mysql plugin and everything but still doesn't work.
I saw some tutorials about it but I don't know where to find a folder where I need to put /usr/lib
Give me some help/tutorial how to fix this +REP


Re: mysql - libmysqlclient_r.so.16 - BroZeus - 03.10.2015

Use the mysql_static.so, its in same folder as the mysql.so plugin, when on host.


Re: mysql - libmysqlclient_r.so.16 - SKAzini - 03.10.2015

You'll need to get MySQL client >= 5.1 on your server for it to work.

Or you can use the static version of a MySQL plugin. This one might work.

EDIT:

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
Use the mysql_static.so, its in same folder as the mysql.so plugin, when on host.
That's it! https://github.com/pBlueG/SA-MP-MySQL/releases


Re: mysql - libmysqlclient_r.so.16 - [S-G]Cypher - 03.10.2015

SOLVED!
Thanks both of you.. +REP