SA-MP Forums Archive
libmysql error - 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: libmysql error (/showthread.php?tid=627509)



libmysql error - AndreiWow - 28.01.2017

Код:
[00:25:34]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
Why..?


Re: libmysql error - Vince - 28.01.2017

What OS (uname -a) and what MySQL version (query: show variables like '%version%')? I'm just going to guess that it's CentOS because it uses mostly outdated stuff. Stable, but outdated nonetheless.


Re: libmysql error - AndreiWow - 28.01.2017

Quote:
Originally Posted by Vince
Посмотреть сообщение
What OS (uname -a) and what MySQL version (query: show variables like '%version%')? I'm just going to guess that it's CentOS because it uses mostly outdated stuff. Stable, but outdated nonetheless.
I tried every R40 plugin for linux, same error with all of them so.. not sure :/


Re: libmysql error - ThatFag - 28.01.2017

Tried mysql_static ? - it usually solves this problem.


Re: libmysql error - Vince - 28.01.2017

Quote:
Originally Posted by AndreiWow
Посмотреть сообщение
I tried every R40 plugin for linux, same error with all of them so.. not sure :/
How does that answer my questions?

The libmysqlclient.so.18 belongs to MySQL 5.5 and CentOS only provides 5.1 through its package manager. So if you're using CentOS (which I asked if you did) and/or if your MySQL server version (which I asked for) is lower than 5.5 then you need to update MySQL to 5.5 or higher.