0

I'm trying to install a package that requires GLIBCXX_3.4.20. GCC version is 4.4, the highest version yum lists. Is there a way to upgrade to 4.9 without building it from source or just update libstdc++?

Mike Frysinger
  • 2,827
  • 1
  • 21
  • 26
nullen
  • 11
  • 2

1 Answers1

0

you probably could just grab a recent Fedora libstdc++ rpm, unpack it using something like rpm2targz, and then move the two shared libs into /usr/local/lib/, then run ldconfig.

you might need to adjust the rpm (x86_64-vs-i686) and lib-vs-lib64 paths depending on your setup.

using a newer libstdc++.so with an older gcc version shouldn't usually be too much of a problem. they're good about backwards compat support in the shared libs.

Mike Frysinger
  • 2,827
  • 1
  • 21
  • 26