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



libmysqlclient - MrSwift - 29.11.2015

Hello, im using
https://github.com/pBlueG/SA-MP-MySQ...ases/tag/R39-4

I have my own gamemode and im trying to set up login & register system.
In my log it returns

Code:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[10:52:03] 
[10:52:03] Server Plugins
[10:52:03] --------------
[10:52:03]  Loading plugin: mysql.so
[10:52:03]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[10:52:03]  Loading plugin: crashdetect.so
[10:52:03]   CrashDetect v4.14 is OK.
[10:52:03]   Loaded.
[10:52:03]  Loaded 1 plugins.

[10:52:03] 
[10:52:03] Filterscripts
[10:52:03] ---------------
[10:52:03]   Loaded 0 filterscripts.

[10:52:03] [debug] Run time error 19: "File or function is not found"
[10:52:03] [debug]  mysql_log
[10:52:03] [debug]  mysql_connect
[10:52:03] [debug]  mysql_errno
[10:52:03] [debug]  mysql_format
[10:52:03] [debug]  mysql_tquery
[10:52:03] [debug]  cache_get_data
[10:52:03] [debug]  cache_get_field_content
[10:52:03] [debug]  cache_get_field_content_int
[10:52:03] [debug]  WP_Hash
[10:52:03] [debug]  cache_insert_id
[10:52:03] [debug] Run time error 19: "File or function is not found"
[10:52:03] [debug]  mysql_log
[10:52:03] [debug]  mysql_connect
[10:52:03] [debug]  mysql_errno
[10:52:03] [debug]  mysql_format
[10:52:03] [debug]  mysql_tquery
[10:52:03] [debug]  cache_get_data
[10:52:03] [debug]  cache_get_field_content
[10:52:03] [debug]  cache_get_field_content_int
[10:52:03] [debug]  WP_Hash
[10:52:03] [debug]  cache_insert_id
[10:52:03] Script[gamemodes/tdm.amx]: Run time error 19: "File or function is not found"
[10:52:03] Number of vehicle models: 0
I have tried many things, but since im running Ubuntu 14/15, and there are only helps for Debian, i failed.

Thank you for reply(btw, i have latest all things, also doing apt-get update and i have that lib installed.


Re: libmysqlclient - MrSwift - 29.11.2015

Nvm, got it to work.

Fix: - Ubuntu

Download latest mysql.so and mysql_static.so

add this line to server.cfg

plugins mysql_static.so

Remove WP_Hash from script

Fixed.


Re: libmysqlclient - CmZxC - 29.11.2015

Why remove WP_Hash, you're simply missing the Whirpool plugin required.
WP_Hash is used for password encryption so you're making the server less secure.

https://sampforum.blast.hk/showthread.php?tid=570945