SA-MP Forums Archive
libmysqlclient.so.18 - 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: libmysqlclient.so.18 (/showthread.php?tid=627465)



libmysqlclient.so.18 - JakeWalker - 28.01.2017

Well, I'm trying to run a script on linux panel and I'm getting this error


Код:
[13:26:15]  Loading plugin: mysql.so
[13:26:15]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
but when I'm running mysql_static.so
this error appearing:

Код:
[13:18:38]    Error: Function not registered: 'WP_Hash'
[13:18:38] Script[gamemodes/rpg.amx]: Run time error 19: "File or function is not found
[13:18:38]  Loading plugin: mysql_static.so
[13:18:38]  >> plugin.mysql: R39-3 successfully loaded.
Please tell me what to do with dat thing
EDIT: Ignore the times, they're bugged or someshit so Its on same time


Re: libmysqlclient.so.18 - Fratello - 28.01.2017

Hello.

I'll ask few questions, please answer them.
- Which host are you using?

Your MySQL version is totally outdated, maybe you tried to update new include with a old plugin.
Do you have libmysqlclient.so.(1 in your server files?

Update your MySQL version (https://github.com/pBlueG/SA-MP-MySQL/releases)


Re: libmysqlclient.so.18 - JakeWalker - 28.01.2017

My mysql version was on the newest and yet same error, mysql_static i didnt found another with that name, and no, I dont have libmysqlclient, only libmysql

http://107.170.226.229/ - Unique Hosting ...
tho I tried 3 of the newest for Linux in MySql.so, none of them worked


Re: libmysqlclient.so.18 - ThatFag - 28.01.2017

use mysql_static - i used it and works well idk about you try it.


Re: libmysqlclient.so.18 - JakeWalker - 28.01.2017

but I told u, check the error I got when I'm using it


Re: libmysqlclient.so.18 - ThatFag - 28.01.2017

Download Whirlpool and include it on your files.
Also put this above MAIN()
Код:
native WP_Hash(buffer[], len, const str[]);
Hope it helps you.


Re: libmysqlclient.so.18 - JakeWalker - 28.01.2017

Quote:
Originally Posted by ThatFag
Посмотреть сообщение
Download Whirlpool and include it on your files.
Also put this above MAIN()
Код:
native WP_Hash(buffer[], len, const str[]);
Hope it helps you.
Where exactly?
EDIT:
native WP_Hash(buffer[], len, const str[]); I got it already
and Whirlpool is in the files already


Re: libmysqlclient.so.18 - ThatFag - 28.01.2017

Search in your script for "main" and put it above it.


Re: libmysqlclient.so.18 - JakeWalker - 28.01.2017

Check my comment edit...


Re: libmysqlclient.so.18 - ThatFag - 28.01.2017

Have you included it at your "server.cfg" - Whirlpool ? if yes and its not working , i got no more ideas for it


Re: libmysqlclient.so.18 - JakeWalker - 28.01.2017

Whirlpool working, logs showing he's loaded


Re: libmysqlclient.so.18 - JakeWalker - 28.01.2017

Any HELP?


Re: libmysqlclient.so.18 - Sew_Sumi - 28.01.2017

If you've setup the linux server yourself, then you're missing a runtime... If it's hosted by someone else, then you need them to fix it.


24 hour bumps only as well... Your "urgency" doesn't excuse the rules.


Re: libmysqlclient.so.18 - JakeWalker - 25.03.2017

can someone else help me with that?
tho its new error, in mysql.so same error but in static its just writing that the mysql cant connect, like info is worng


Re: libmysqlclient.so.18 - Sew_Sumi - 25.03.2017

What distribution is it, or who hosts it for you?


Re: libmysqlclient.so.18 - JakeWalker - 25.03.2017

My friend hosts it with mysql, on Linux VPS
when I load in mysql_static.so its writing that the mysql has error connecting to the user, like info is worng
when I do mysql.so its :
Код:
Loading plugin: mysql.so
[13:52:18]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)



Re: libmysqlclient.so.18 - Sew_Sumi - 25.03.2017

It's missing a runtime, and that runtime comes from mysql-libs, if it is CentOS.


Re: libmysqlclient.so.18 - JakeWalker - 25.03.2017

Well, I switched script and now that's my error:
Код:
[19:52:14]    Error: Function not registered: 'mysql_unprocessed_queries'
[19:52:14] [debug] Run time error 19: "File or function is not found"
[19:52:14] [debug]  mysql_unprocessed_queries
[19:52:14] [debug] Run time error 19: "File or function is not found"
[19:52:14] [debug]  mysql_unprocessed_queries



Re: libmysqlclient.so.18 - Sew_Sumi - 25.03.2017

What? Did you do what I said?

Or what do you mean "I switched script"?