libstdc++.so.6(glibcxx_3.4.21)

General support questions
Post Reply
laurczt
Posts: 4
Joined: 2017/06/23 20:08:54

libstdc++.so.6(glibcxx_3.4.21)

Post by laurczt » 2017/06/23 20:12:44

Hello,
As the title says i need to install libstdc++.so.6 glibcxx_3.4.21 (at the moment i have libstdc++.so.6 glibcxx_3.4.19) on my centos 7 server. I've searched around the web but i can't find a solution. Maybe you could help me fixing this issue.

Thanks!

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: libstdc++.so.6(glibcxx_3.4.21)

Post by TrevorH » 2017/06/23 20:17:48

No, you don't. It's the other way round, you need to get hold of the application you want to run that's actually built to run on CentOS 7. You cannot shoehorn newer libstdc++/glibc into an older distribution that's entirely built around an older copy of it. You will break lots of stuff and end up reinstalling.

What application are you trying to install that wants this?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

laurczt
Posts: 4
Joined: 2017/06/23 20:08:54

Re: libstdc++.so.6(glibcxx_3.4.21)

Post by laurczt » 2017/06/23 21:40:12

Rust dedicated server. And i get this error when i start the application (before last night update it was working and now not anymore).
Error:

Code: Select all

Couldn't open /home/server/rust_test/RustDedicated_Data/Plugins/x86_64/libRakNet.so, error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/server/rust_test/RustDedicated_Data/Plugins/x86_64/libRakNet.so)
And this is the result i get when i do: strings /usr/lib64/libstdc++.so.6 | grep GLIBC

Code: Select all

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
GLIBC_2.3
GLIBC_2.2.5
GLIBC_2.14
GLIBC_2.4
GLIBC_2.3.2
GLIBCXX_DEBUG_MESSAGE_LENGTH

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: libstdc++.so.6(glibcxx_3.4.21)

Post by TrevorH » 2017/06/23 21:50:14

You'll need to complain to the people you got that from. It will never work on CentOS and if you try, you will almost certainly break your system.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

laurczt
Posts: 4
Joined: 2017/06/23 20:08:54

Re: libstdc++.so.6(glibcxx_3.4.21)

Post by laurczt » 2017/06/24 06:19:55

Thanks. What about install the newest version of centos ? U think it will fix the problem ?

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: libstdc++.so.6(glibcxx_3.4.21)

Post by TrevorH » 2017/06/24 09:45:24

CentOS 7 is the newest version.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

laurczt
Posts: 4
Joined: 2017/06/23 20:08:54

Re: libstdc++.so.6(glibcxx_3.4.21)

Post by laurczt » 2017/06/24 15:11:42

I fixed the issue :) thanks for your support.
For those who want to know how i fix it. I replaced the libRakNet.so with the one before update. If you don't have it anymore you can download it from here (OneDrive Link). Hope this will help others too. Thanks TrevorH for all help he gave me, i want to mention that he respond very fast and i appreciate it!

Post Reply