a question related to MySQL plugin and CentOS - 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: a question related to MySQL plugin and CentOS (
/showthread.php?tid=538978)
a question related to MySQL plugin and CentOS -
Lucky™ - 25.09.2014
I was searching a fix for this problem and ended up with no luck. So here we go, I'm posting this.
I'm trying to run mysql based script on my CentOS 6 (64bit) VPS and whenever I try to start the server, MySQL plugin won't load up.
This is the error in server_log
Код:
Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
You might say use static version of the plugin. No luck either. Here's the output I'm getting whenever I try to start the server using nohup ./samp03svr &
Код:
Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by plugins/mysql_static.so))
PS: I'm using mysql r33 [5.5] plugin
Re: a question related to MySQL plugin and CentOS -
BlackBank - 25.09.2014
Already tried to run one of this commands via sudo(root)?
Код:
yum upgrade libstdc++
yum install libstdc++
I'm not sure if yum install works, never used it in CentOS, but you could try.
Re: a question related to MySQL plugin and CentOS -
Lucky™ - 26.09.2014
Quote:
Originally Posted by BlackBank3
Already tried to run one of this commands via sudo(root)?
Код:
yum upgrade libstdc++
yum install libstdc++
I'm not sure if yum install works, never used it in CentOS, but you could try. 
|
Apparently I do have latest version already
Код:
Package libstdc++-4.1.2-54.el5.x86_64 already installed and latest version
Package libstdc++-4.1.2-54.el5.i386 already installed and latest version
Any other suggestions?
Re: a question related to MySQL plugin and CentOS -
Alex Magaсa - 26.09.2014
- You don't have the MySQL client library installed. Install the "mysql-client" package.
- Note: If that error still occurs, you are probably using a newer version of the MySQL client library. In that case use the mysql_5.5.so, which is linked to the libmysqlclient18 rather than the libmysqlclient16.
- Or download
this