SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 15/04/2017, 03:21 PM   #1
ax1
Big Clucker
 
Join Date: Jul 2015
Posts: 157
Reputation: 2
Default Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)

I get this when I try to run server
Code:
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
I looked at this tutorial http://forum.sa-mp.com/showthread.php?t=537714 but the links there are outdated, also mine libmysqlclient should be 18, and in that tutorial links are only for 16 15 14
ax1 is offline   Reply With Quote
Old 15/04/2017, 04:04 PM   #2
CJ101
High-roller
 
CJ101's Avatar
 
Join Date: Jan 2008
Location: RevolutionX
Posts: 1,758
Reputation: 162
Default Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)

Use the mysql static plugin.
__________________
I have left SA-MP. Thanks for a great ten years.
CJ101 is offline   Reply With Quote
Old 15/04/2017, 04:25 PM   #3
ax1
Big Clucker
 
Join Date: Jul 2015
Posts: 157
Reputation: 2
Default Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)

Quote:
Originally Posted by CJ101 View Post
Use the mysql static plugin.
You mean this? : https://github.com/pBlueG/SA-MP-MySQL/releases (mysql-R41-2-Debian8-static.tar.gz)
I get this error with it
Code:
Failed (/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by plugins/mysql.so))
ax1 is offline   Reply With Quote
Old 16/04/2017, 08:41 AM   #4
ax1
Big Clucker
 
Join Date: Jul 2015
Posts: 157
Reputation: 2
Default Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)

As far as I understand I need libmysqlclient.so.18 file, right? I tried to download this one : https://rpmfind.net/linux/RPM/opensu...1.aarch64.html but its in .rpm format which I dont know how to open
ax1 is offline   Reply With Quote
Old 16/04/2017, 09:49 AM   #5
Astralis
Guest
 
Posts: n/a
Default Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)

yum install libstdc++.so.6

yum install libmysqlclient.so.18

http://forum.sa-mp.com/showpost.php?...75&postcount=7
  Reply With Quote
Old 16/04/2017, 10:16 AM   #6
ax1
Big Clucker
 
Join Date: Jul 2015
Posts: 157
Reputation: 2
Default Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)

Quote:
Originally Posted by Astralis View Post
yum install libstdc++.so.6

yum install libmysqlclient.so.18

http://forum.sa-mp.com/showpost.php?...75&postcount=7
download link doesnt work anymore in that thread
ax1 is offline   Reply With Quote
Old 16/04/2017, 10:41 AM   #7
ax1
Big Clucker
 
Join Date: Jul 2015
Posts: 157
Reputation: 2
Default Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)

I just noticed that there are 2 files mysql.so and mysql_static.so
Now I load them both, should I load only mysql_static.so? When I load only mysql_static I dont get the error
ax1 is offline   Reply With Quote
Old 16/04/2017, 12:25 PM   #8
ev0lution
Gangsta
 
ev0lution's Avatar
 
Join Date: Jul 2009
Posts: 669
Reputation: 380
Default Re: Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)

Don't download .so files from random sources.

libmysqlclient is available for all major Linux distros. On Debian/Ubuntu, the package is called "libmysqlclient-dev". On CentOS, it's called "mysql-libs".

Install those and you should be good to go.
__________________
ev0lution is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) danielpalade Server Support 2 03/11/2015 04:59 AM
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) losrivarola98 Server Support 2 25/09/2015 03:02 PM
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) uqurlord13 Server Support 4 24/03/2015 09:52 PM
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) TunisianoGamer Server Support 8 05/10/2014 07:16 PM
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) SaintMikey Server Support 6 28/09/2014 12:55 AM


All times are GMT. The time now is 06:02 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.