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



Failed (libmysqlclient.so.18) - ganglion - 07.10.2017

Hello, I am getting this error on my VPS whenever I start SAMP server:
Code:
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
I'm using ubuntu-14.04-x86 . mysql_static.so does works but I am planning on getting a solution on how to fix this error as I wanna use mysql.so itself.


Re: Failed (libmysqlclient.so.18) - Zeth - 07.10.2017

Quote:

You don't have the MySQL client library installed. Install it through your package manager. Make sure you install the 32bit (i386, i686, etc) library, or else the plugin won't run.

You are missing MySQL Libraries, install the dependency packages and you are done.
Here is a quick tutorial Click HERE


Re: Failed (libmysqlclient.so.18) - ganglion - 07.10.2017

Quote:
Originally Posted by Debjit
View Post
You are missing MySQL Libraries, install the dependency packages and you are done.
Here is a quick tutorial Click HERE
Thanks for your reply tho isn't that guide about how to install mysql phpmyadmin? If not, then can you please write the commands I need to use over here. Your help would be highly appreciated.


Re: Failed (libmysqlclient.so.18) - Zeth - 07.10.2017

Sorry but no time to write commands. Here is another tutorial , this can help you LINK


Re: Failed (libmysqlclient.so.18) - ganglion - 07.10.2017

Alright thanks guys, I've fixed the issue.


Re: Failed (libmysqlclient.so.18) - ganglion - 07.10.2017

Now I was trying to load another version of MySQL, I'm getting this error:
Code:
Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)



Re: Failed (libmysqlclient.so.18) - ganglion - 08.10.2017

Issue has been fixed! Thread locked.


Re: Failed (libmysqlclient.so.18) - TitoRayne - 30.03.2018

Quote:
Originally Posted by ganglion
View Post
Issue has been fixed! Thread locked.
How'd you do that please? having this problem too


Re: Failed (libmysqlclient.so.18) - Astralis - 30.03.2018

Use other operating system and mysql_static.so plugin.


Re: Failed (libmysqlclient.so.18) - TitoRayne - 01.04.2018

Quote:
Originally Posted by Astralis
View Post
Use other operating system and mysql_static.so plugin.
I did take a look at this

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

[01:50:32] filterscripts = ""  (string)
[01:50:32] 
[01:50:32] Server Plugins
[01:50:32] --------------
[01:50:32]  Loading plugin: mysql_static.so
[01:50:32]  >> plugin.mysql: R33 successfully loaded.
[01:50:32]   Loaded.
[01:50:32]  Loading plugin: Whirlpool.so
[01:50:32]  
[01:50:32]  ==================
[01:50:32]  
[01:50:32]   Whirlpool loaded
[01:50:32]  
[01:50:32]  ==================
[01:50:32]  
[01:50:32]   Loaded.
[01:50:32]  Loading plugin: crashdetect.so
[01:50:32]   CrashDetect v4.12 is OK.
[01:50:32]   Loaded.
[01:50:32]  Loading plugin: streamer.so
[01:50:32] 

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[01:50:32]   Loaded.
[01:50:32]  Loading plugin: sscanf.so
[01:50:32] 

[01:50:32]  ===============================

[01:50:32]       sscanf plugin loaded.     

[01:50:32]          Version:  2.8.1        

[01:50:32]    © 2012 Alex "Y_Less" Cole  

[01:50:32]  ===============================

[01:50:32]   Loaded.
[01:50:32]  Loading plugin: nativechecker.so
[01:50:32]   Loaded.
[01:50:32]  Loaded 6 plugins.

[01:50:32] 
[01:50:32] Ban list
[01:50:32] --------
[01:50:32]  Loaded: samp.ban
[01:50:32] 
[01:50:32] 
[01:50:32] Filterscripts
[01:50:32] ---------------
[01:50:32]   Loaded 0 filterscripts.

[01:50:32]    Error: Function not registered: 'mysql_unprocessed_queries'
[01:50:32] [debug] Run time error 19: "File or function is not found"
[01:50:32] [debug]  mysql_unprocessed_queries
[01:50:32] [debug] Run time error 19: "File or function is not found"
[01:50:32] [debug]  mysql_unprocessed_queries
[01:50:32] Script[gamemodes/evorp.amx]: Run time error 19: "File or function is not found"
[01:50:32] Number of vehicle models: 0
[01:50:32] New version of CrashDetect is available for download (4.13)



Re: Failed (libmysqlclient.so.18) - Mark_Weston - 02.04.2018

Update your MySQL plugin. I believe the R33 is an older version.


Re: Failed (libmysqlclient.so.18) - Reiikz - 10.06.2018

i'm getting the same error, i have installed the mysql client from the oracle's website in my amd64 Debian Stretch server, the client works fine but the samp server says libmysqlclient is missng because it is, and i don't know how to fix this i'm using pBlueG's mysql plugin, and on windows it works just fine, but on linux it refuses to load, i'm using the R41-4 of the plugin.