Failed (libmysqlclient.so.18)
#1

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.
Reply
#2

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
Reply
#3

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.
Reply
#4

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

Alright thanks guys, I've fixed the issue.
Reply
#6

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)
Reply
#7

Issue has been fixed! Thread locked.
Reply
#8

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

Use other operating system and mysql_static.so plugin.
Reply
#10

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)
Reply
#11

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)