Pages

Thursday, January 23, 2020

The C++ runtime installed on this machine is too old to run SAPinst



       Error :
       

    Reason:

       SAP Kernel 748 or higher, the system uses a new compiler version on Linux platforms. This compiler version requires a runtime environment that is not delivered as standard with RHEL 6, SLES 11, or OL 6.


     Solution :

               SLES

                       Install libstdc++ package


              RHEL
         
                   1.   Install compat-sap-c++ package
                   2.   mkdir /usr/sap/lib
                   3.   ln -s /opt/rh/SAP/lib64/compat-sap-c++.so /usr/sap/lib/libstdc++.so.6
                   4.   Changing the file/directory ownership of /usr/sap/lib to sapadm:sapsys or <sid>adm:sapsys user:group is possible

            Oracle Linux

                   1.   Install compat-sap-c++ package
                   2.   mkdir /usr/sap/lib
                   3.   ln -s /opt/rh/SAP/lib64/compat-sap-c++.so /usr/sap/lib/libstdc++.so.6
                   4.   Changing the file/directory ownership of /usr/sap/lib to sapadm:sapsys or  <sid>adm:sapsys user:group is possible

No comments:

Post a Comment