CentOS 7 running MariaDB won't run lib
#1

Hi. Whenever I try to start my server through my vps. I get this
Код:
[15:54:52]  Loading plugin: mysql.so
[15:54:52]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
I've tried installing the mariadb stuff but it's already installed. I tried to download the static version but there isn't one for CentOS. I don't have good enough internet speed at the moment in order to download a libmysqlclient.so.18 and then upload it to the server VIA an FTP my internet just crashes. Does anyone have any options that I can do server side? Or terminal side?

Thanks.
Reply
#2

Bump... I managed to get someone to upload the libmysqlclient to root and it didn't fix anything. Then I got them to upload it to the server directory and it worked for a second but my gamemode still failed to load. Then I tried again and I got the no such directory message again.
Reply
#3

Use mysql_static.so and change the OS.
Reply
#4

https://github.com/pBlueG/SA-MP-MySQL#faq
Код:
yum install mariadb-server mariadb-client
https://mariadb.com/kb/en/library/yum/
Reply
#5

Quote:
Originally Posted by Astralis
Посмотреть сообщение
Use mysql_static.so and change the OS.
I am not going to change the os. I've tried static it doesn't work.
Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
I've already done that.
Reply
#6

Okay, so I've went to search why, according to the rpm repository, it doesn't contain libmysqlclient.



There wasn't a record for the client, but I found that the -devel version has it, it installs it at
Код:
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient_r.so
but it isn't .18, so I found mariadb-libs to contain it
Код:
/usr/lib64/mysql/libmysqlclient.so.18
/usr/lib64/mysql/libmysqlclient.so.18.0.0
So I think `` yum install mariadb-libs `` should do the trick.
Reply
#7

Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
Okay, so I've went to search why, according to the rpm repository, it doesn't contain libmysqlclient.



There wasn't a record for the client, but I found that the -devel version has it, it installs it at
Код:
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient_r.so
but it isn't .18, so I found mariadb-libs to contain it
Код:
/usr/lib64/mysql/libmysqlclient.so.18
/usr/lib64/mysql/libmysqlclient.so.18.0.0
So I think `` yum install mariadb-libs `` should do the trick.
Код:
Package 1:mariadb-libs-5.5.56-2.el7.x86_64 is obsoleted by MariaDB-compat-10.2.11-1.el7.centos.x86_64 which is already installed
I tried to force the installation using
Код:
yum --setopt=obsoletes=0 install mariadb-libs --skip-broken
However I get:
Код:
 Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be installed
--> Processing Conflict: MariaDB-common-10.1.29-1.el7.centos.x86_64 conflicts mariadb-libs < 1:10.1.29-1.el7.centos
Removing mariadb-libs.x86_64 1:5.5.56-2.el7 - u due to obsoletes from installed MariaDB-compat-10.2.11-1.el7.centos.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package MariaDB-common.x86_64 0:10.1.29-1.el7.centos will be updated
---> Package MariaDB-common.x86_64 0:10.2.11-1.el7.centos will be an update
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be installed
Then it installs
Код:
MariaDB-common.x86_64 0:10.2.11-1.el7.centos
Any ideas?
Reply
#8

Try using the static version of the plugin which can be found here: https://github.com/pBlueG/SA-MP-MySQ...-static.tar.gz
It comes pre-compiled with MySQL binaries.
Reply
#9

I updated my gamemode since it was compiled with MySQL v R39-6 and updated it to v R41-4. I uploaded the static. However I still get

Код:
Failed (/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/mysql.so))
I checked to see what GLIBCXX versions I have using
Код:
 strings /usr/lib/libstdc++.so.6 | grep GLIBCXX
Found
Код:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_DEBUG_MESSAGE_LENGTH
I also have CentOS. Not Debian
Reply
#10

I'm myself Ubuntu and Mint user and my suggestions are just things i found googling that seem like they may fix your problem.

Development tools just in case you need to compile anything :P
Код:
yum groupinstall "Development tools"
yum install glibc-devel glibc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)