Linux: Resolving "/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.xx' not found" Error
in Linux
Applies to:
Oracle Cloud Infrastructure
Linux x86-64
Symptoms:
When attempting to install or run an application, you may encounter errors similar to the following:
/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.XX' not found/lib64/libstdc++.so.6: version `CXXABI_1.3.X' not found
For example:
error: /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.20' not found (required by LibreOffice 24.8)
In this example, LibreOffice 24.8 needs GLIBCXX_3.4.20, but the version of libstdc++ installed on the system does not include that version, leading to the failure of the application.
Cause:
The error occurs because the application you're trying to install or run has been compiled with a newer version of libstdc++ (part of GCC) than the version installed on your system. As a result, the required GLIBCXX or CXXABI versions are not available in the installed libstdc++ library, which causes the application to fail.
Tagged:
0