Skip to Content
0

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

Mar 31, 2017 at 06:12 AM

2.6k

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Apr 12, 2017 at 01:34 PM
-1

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.

Share
10 |10000 characters needed characters left characters exceeded
Adam Gaspar
Mar 31, 2017 at 02:05 PM
0

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)."

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0
avatar image
Former Member Apr 29, 2017 at 08:42 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0