SA-MP Forums Archive
Gamemode Unknown - 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: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: Gamemode Unknown (/showthread.php?tid=299778)



Gamemode Unknown - CONTROLA - 27.11.2011

I've tried all the methods but MySQL doesn't load.
This is the error from the server_log:
Код:
Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
...
...
Script[gamemodes/redzmax.amx]: Run time error 19: "File or function is not found"
I've contacted the server host, and they said the mysql library is installed.
I've tried mysql_centos.so and it still doesn't work.
Could you please tell me what's wrong?


Re: Gamemode Unknown - Jochemd - 27.11.2011

You have to put libmysqlclient.so in the main directory of your server.

On what host are you? Also make sure you're using the right plugin!


Re: Gamemode Unknown - Mauzen - 27.11.2011

Same problem, tried a lot but couldnt fix it yet. libmysqlclient_r.so.16 is not part of centos libraries or packages, and seems like there are no compatible versions. I switched back to R6, the centos version works for me.


Re: Gamemode Unknown - CONTROLA - 27.11.2011

Solved. Thanks!