a question related to MySQL plugin and CentOS
#1

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

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)