/bin/ld: warning: libstdc++.so.5 linux7.1打12.1的psu遇到warning

新装一台单机oracle 12.1 在linux7.1系统上,打psu时遇到warning
Patching component oracle.javavm.containers, 12.1.0.2.0...

OPatch found the word "warning" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
/bin/ld: warning: libstdc++.so.5, needed by /u01/app/oracle/product/12.1.0/dbhome_1/ctx/lib//libsc_ca.so, not found (try using -rpath or -rpath-link)


Composite patch 25171037 successfully applied.
OPatch Session completed with warnings.
Log file location: /u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/opatch/opatch2018-09-05_13-34-48PM_1.log

OPatch completed with warnings.


查看mos官网,发现如下文章比较符合
"libstdc++.so.5: cannot open shared object file: No such file or directory" Error When Installing 64 bit Oracle Iplanet Web Server 7.0 on 64 bit Linux. (Doc ID 1365640.1)

文章中提到需要安装yum -y install compat-libstdc++-33,但我在使用yum源安装rpm包时脚本中是包含这个包的,使用rpm -q compat-libstdc++-33
也没有发现该包,镜像中也不存在

我在/usr/lib64中发现libstdc++.so.6
这是一个连接文件
lrwxrwxrwx. 1 root root     19 Sep  4 16:30 libstdc++.so.6 -> libstdc++.so.6.0.19
-rwxr-xr-x. 1 root root 930604 Nov 14  2014 libstdc++.so.6.0.19
so 新建了一个软连接
ln -s libstdc++.so.6.0.19 libstdc++.so.5

psu rollback 后重新打

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值