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

今天打算把ASCS从CI里面分离出来,但是在运行SWPM的时候报错如下(我的OS版本是Redhat 6.6):
在这里插入图片描述
根据SAP notes 2195019的提示,需要安装compat-sap-c++
但是我的操作系统不是Red Hat Enterprise Linux for SAP Applications版本的,所有不能直接通过# yum install compat-sap-c++.去安装,只能去红帽官网上去下载rpm包,下载地址:https://access.redhat.com/errata/RHBA-2015:1818
下载rpm包后,运行命令:rpm -ivh compat-sap-c+±4.8.2-16.el6.x86_64.rpm
在这里插入图片描述
新建目录:#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 adm:sapsys user:group is possible:#chown -R adm:sapsys lib
然后重新试一次,成功!
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_41468794/article/details/88552949
今日推荐