Closed VitaaoStaff closed 6 years ago
Of you use CentOS 6 you MUST use R39-6, that is the last supporter version.
Op 6 mrt. 2018 06:24 schreef "VitaaoStaff" notifications@github.com:
Estou precisando ligar um servidor em MYSQL, mas está dando erro ao ligar o servidor. Preciso das versões posteriores a R40. Testei com todas acima dessa versão, e acontece o mesmo erro, se eu pego a versão 39-6, o plugin executa normal, mas o servidor não liga, porque ele precisa da versão atualizada.
Minha VPS é CENTOS6
Loading plugin: mysql.so [01:09:05] Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by plugins/mysql.so))
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pBlueG/SA-MP-MySQL/issues/191, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx8xqcYwACKCaw4IGDe9dxJ2pjaK0Cnks5tbh2kgaJpZM4SeH-A .
Supported*, damned autocorrect.
Op 6 mrt. 2018 09:54 schreef "Jeroen de Neef" jeroen52@gmail.com:
Of you use CentOS 6 you MUST use R39-6, that is the last supporter version.
Op 6 mrt. 2018 06:24 schreef "VitaaoStaff" notifications@github.com:
Estou precisando ligar um servidor em MYSQL, mas está dando erro ao ligar o servidor. Preciso das versões posteriores a R40. Testei com todas acima dessa versão, e acontece o mesmo erro, se eu pego a versão 39-6, o plugin executa normal, mas o servidor não liga, porque ele precisa da versão atualizada.
Minha VPS é CENTOS6
Loading plugin: mysql.so [01:09:05] Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by plugins/mysql.so))
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pBlueG/SA-MP-MySQL/issues/191, or mute the thread https://github.com/notifications/unsubscribe-auth/ACx8xqcYwACKCaw4IGDe9dxJ2pjaK0Cnks5tbh2kgaJpZM4SeH-A .
O que eu preciso fazer então? Atualizar para Centos7?
There is no official upgrade to CentOS 7, you'll need to reinstall your CentOS 6 VPS to install CentOS 7.
If you want to use R39-6, which is possible. You'll need to change your code to make it compatible with R39-6.
I still did not get it. @Jeroen52 You said, "reinstall CentOS 6 to install CentOS 7", but why do I have to reinstall CentOS 6?
Can you speak in English please?
Almost all the people who receive these notifications need to use Google Translate if they want to help you or know about the issue.
Ok, I'm sorry. @WopsS I was just confused in the part that he spoke to reinstall CentOS 6, being that my VPS is already CentOS 6
@VitaaoStaff You need to reinstall your CentOS 6 VPS to CentOS 7.
So you need to install CentOS 7 instead of CentOS 6.
@Jeroen52 Now I get it. What you said above, gave to understand that I had to format my VPS, install CentOS 6 to be able to upgrade to CentOS 7. But now I get it. I have already asked the company to format and install CentOS 7.
I will do the test, in case the error continues, I will mention you.
Thank you
The next time please do read the F.A.Q. before posting an issue.
There should be no issues running the newest version of SA-MP-MySQL on CentOS 7, as there is a separate build in the Release page. As you can see after R39-6 (so from R40 and forwards) the distro changed from CentOS 6 to CentOS 7.
And please do check the F.A.Q.'s before opening an issue, your question is the first question.
Q: I get a version GLIBCXX_3.4.15' not found error (or similar). How can I solve this? A: Update your system. If that still didn't work, you'll need to upgrade your Linux distribution to a version which provides the gcc 4.8 (or higher) compiler. For example, if you're on CentOS 6, which only has gcc 4.4, you'll need to upgrade to CentOS 7.
If you have exhausted solutions from the F.A.Q. and can still not resolve your issue, then you are encouraged to open a ticket in English.
@Jeroen52 ok, sorry
@Jeroen52 I upgraded to centos 7 and the error continues, but agr the version of that GLIBC has changed
Loading plugin: mysql.so [23:07:19] Failed (/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/mysql.so))
[root@deathmatch ~]# cat /etc/*-release CentOS Linux release 7.4.1708 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.4.1708 (Core) CentOS Linux release 7.4.1708 (Core) [root@deathmatch ~]#
yum whatprovides /lib/libstdc++.so.6
indicates the following:
libstdc++-4.8.5-16.el7_4.1.i686 : GNU Standard C++ Library Repo : @updates Matched from: Filename : /lib/libstdc++.so.6
Try to run yum groupinstall 'Development Tools'
and afterwards make sure that the package you actually need is installed using yum install libstdc++.i686
Then try to run it again.
@Jeroen52 It worked!!! Thank you very much!!!!
I need to connect a server in MYSQL, but it is giving error when connecting the server. I need the later versions of R40. I tested with all above that version, and the same error occurs, if I get the version 39-6, the plugin performs normal, but the server does not turn on because it needs the updated version.
My VPS is CentOS 6
Loading plugin: mysql.so [01:09:05] Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by plugins/mysql.so))