SA-MP Forums Archive
MySQL Library issues - 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: MySQL Library issues (/showthread.php?tid=640443)



MySQL Library issues - Silentx9 - 02.09.2017

Hey guys I'm trying to set up my friends SA:MP server on a VPS, i am using the really old R7 (as the gamemode was using R7 originally and porting it to newest one is kinda tedious work) ,but when i run the server i get a message in the server_log.txt saying this:

Quote:

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

What is the solution for this?


Re: MySQL Library issues - Xeon™ - 02.09.2017

what os you are using in your vps?


Re: MySQL Library issues - Silentx9 - 02.09.2017

Debian 7.10 (Wheezy)


Re: MySQL Library issues - Astralis - 02.09.2017

Use mysql_static.so plugin


Re: MySQL Library issues - Xeon™ - 02.09.2017

Quote:
Originally Posted by Astralis
Посмотреть сообщение
Use mysql_static.so plugin
there no static in lastest version of mysql plugin

use this on console (ssh)
PHP код:
sudo apt-get install libmysqlclient18 
and restart the server (not vps)


Re: MySQL Library issues - Vince - 02.09.2017

He says he's using R7. Very old but as far as I know that one had a static version.

Debian 7 and up probably have libmysqlclient18 already installed, thereby making libmysqlclient16 obsolete. I don't even know if it's possible to overwrite it with an older library or even if it's possible to install them side by side.