How to install libstdc++.so.5 in RHEL 8.3

Latest response

Hi All,
How can I install libstdc++.so.5 in Rhel 8.3?

Best regards,
Marben

Responses

That's a really old version of the C++ standard library, it's now over 15 years old.

It was included in RHEL7 with the compat-libstdc++ package for backwards compatibility with older versions, but doesn't look like it's included in RHEL8 anymore.

It looks like the software you're using is too old for RHEL 8.

You could try to install the application in a container which uses the RHEL 7 base image, making sure you have the compat-libstdc++ package installed in the container.

Hi Jamie, You mean libstdc++.so.5 can not be installed in Rhel 8.3? But it can be installed in Rhel 7.

Thank you very much for your response.

Best regards, Marben

We provide the libstdc++.so.5 file in the compat-libstdc++ package for RHEL 7

We do not provide the libstdc++.so.5 file at all for RHEL 8.

Hi All, I solve my problem regading libstdc++.so.5 in RHEL 8.3 by using the following command. copy “libstdc++.so.5” from pc having “libstdc++.so.5”, then enter the command below: ln -s /lib/libstdc++.so.5.0.7 /lib/libstdc++.so.5

Thank you very much for your help.

Best regards, Marben