Which version of libstdc++ is provided in RHEL? How do we get a later GLIBCXX or CXXABI?

Solution Verified - Updated -

Issue

  • Which version of libstdc++ is available on RHEL releases?
  • How do we get a later CXXABI?
  • If we install later GCC I can't see any way to get the matching version of the libstdc++ library. The installed version appears only to be as suppiled by the base OS RPM package. Are we to understand that if we use the later GCC toolset, that effectively we are limited to what is provided in the older libstc++ library package?
  • Is there any way to get libstdc++ library from later RHEL backported to earlier RHEL?
  • Which version of libstdc++ is available on RHEL releases?
  • How to verify which version of GLIBCXX and CXXABI are shipped with the C++ Standard Library package?
  • Application won't run with an error like:
/lib64/libstdc++.so.6: version `GLIBCXX_x.y.z' not found
  • Need to install file libstdc++.so.6

Environment

  • Red Hat Enterprise Linux
  • C++ standard library libstdc++
  • GCC toolset

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content