cancel
Showing results for 
Search instead for 
Did you mean: 

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

Dear all,

When i try to start SWPM SP19 on Oracle Linux 6.8 i got issue:

The C++ runtime installed on this machine is too old to run SAPinst. In order to update the runtime to a current version, see SAP Note 2195019.

Ok, let's go to sap note:

  1. Install compat-sap-c++ package (release compat-sap-c++-4.8.2-16.el6 or higher):
    # yum install compat-sap-c++.

Next what i do:

[root@hostname]# yum install compat-sap-c++

Loaded plugins: refresh-packagekit, security, ulninfo

Setting up Install Process

public_ol6_UEKR4 | 1.2 kB 00:00

public_ol6_latest | 1.4 kB 00:00 No package compat-sap-c++ available.

Error: Nothing to do

Please help, how can i install this package?

Accepted Solutions (0)

Answers (3)

Answers (3)

nnebi
Member
0 Kudos

Dear collegues.

This note 2195019 very helpful...BUT....not if you begin installation on new machine. I mean that there are no sapadm or sap<sid> users, there are no sapsys group, there are no /opt/rh/SAP directory.

What can you advice in this case? Thank you

0 Kudos

Don't worry, an installer will create all necessry users and groups.

Former Member
0 Kudos

to fix this read: https://launchpad.support.sap.com/#/notes/0002195019

the content simply states :

OL 6 The libstdc++ package that is required is delivered as compat-sap-c++ library. The following list shows the availability of the compat-sap-c++ library on the different platforms: Oracle Linux and Oracle Exalogic: Use the RPM provided by the Channel "Oracle Linux 6 software for SAP" from Oracle Unbreakable Linux Network (ULN). Oracle Exadata: Included from Exadata version 12.1.2.3.0 on. Oracle Database Appliance: Included from Oracle Database Appliance version 12.1.2.7.0 on. Installation: Install compat-sap-c++ package (release compat-sap-c++-4.8.2-16.el6 or higher): # yum install compat-sap-c++. Create a symlink to compat library # mkdir /usr/sap/lib # ln -s /opt/rh/SAP/lib64/compat-sap-c++.so /usr/sap/lib/libstdc++.so.6 Changing the file/directory ownership of /usr/sap/lib to sapadm:sapsys or <sid>adm:sapsys user:group is possible (chown command). Start SAP installation or update with SAP kernel 748 or higher. Technical Background: All SAP applications that need this compat library will use the compat library via the symlink. Other (older) SAP applications still continue to use the standard libstdc++.so.6 library.

Goodluck.

0 Kudos

Do you have the "Oracle Linux 6 software for SAP" channel set up on the server?

From the same note:

"The following list shows the availability of the compat-sap-c++ library on the different platforms:
1.Oracle Linux and Oracle Exalogic: Use the RPM provided by the Channel "Oracle Linux 6 software for SAP" from Oracle Unbreakable Linux Network (ULN)."

0 Kudos

No, i dont have...If you have, could you share this library.