SA-MP Forums Archive
An error while running MySQL & Log plugins on CentOS 7 - 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: An error while running MySQL & Log plugins on CentOS 7 (/showthread.php?tid=661300)



An error while running MySQL & Log plugins on CentOS 7 - ranme15 - 30.11.2018

Running a server on CentOS 7, getting this error on startup: (lastest MySQL & Log plugins version)

Code:
[01:15:34]  Loading plugin: log-plugin.so
[01:15:34]   Failed (/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/log-plugin.so))
[01:15:34]  Loading plugin: sscanf.so
[01:15:34] 

[01:15:34]  ===============================

[01:15:34]       sscanf plugin loaded.     

[01:15:34]          Version:  2.8.2        

[01:15:34]    © 2012 Alex "Y_Less" Cole  

[01:15:34]  ===============================

[01:15:34]   Loaded.
[01:15:34]  Loading plugin: mysql.so
[01:15:34]   Failed (/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/mysql.so))
any ideas?


Re: An error while running MySQL & Log plugins on CentOS 7 - Iguman - 06.12.2018

Download either i386 or amd64 version of libstdc++6 package from herehttp://packages.ubuntu.com/xenial/libstdc%2B%2B6 and install it.

Code:
sudo apt-get install libstdc++6
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
dpkg -i libstdc++6_5.4.0-6ubuntu1_16.04.10_i386.deb
dpkg -i gcc-5-base_5.4.0-6ubuntu1_16.04.10_i386.deb