大势趋007

每个人都是🏆
  新随笔  :: 管理

oracle linux 9 install oem : compat-libpthread-nonshared

Posted on 2025-02-16 17:14  大势趋007  阅读(84)  评论(0)    收藏  举报
<2025-02-16 11:12:52> <INFO> <OHS-0> <Running /home/u01/app/oem/middleware/ohs/bin/launch httpd -DOHS_MPM_WORKER -d /home/u01/app/o
em/gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/instances/ohs1 -k start -f /home/u01/app/oem/gc_inst/user
_projects/domains/GCDomain/config/fmwconfig/components/OHS/instances/ohs1/httpd.conf>
<2025-02-16 11:12:52> <INFO> <OHS-0> </home/u01/app/oem/middleware/ohs/bin/httpd: error while loading shared libraries: libclntshcore.so.12.1: cannot open shared object file: No such file or directory>


[root@oem135 Feb-16-2025-09-00-51]# find / -name libclntshcore*
/home/u01/app/oem/agent/agent_13.5.0.0.0/instantclient/libclntshcore.so.12.1
find: ‘/proc/122564’: 没有那个文件或目录
find: ‘/proc/122575’: 没有那个文件或目录
find: ‘/proc/122578’: 没有那个文件或目录
find: ‘/proc/122582’: 没有那个文件或目录
/u01/app/db/lib/libclntshcore.so
/u01/app/db/lib/libclntshcore.so.19.1
[root@oem135 Feb-16-2025-09-00-51]#

解决办法

Solution
As a workaround install the missing OL8 package "compat-libpthread-nonshared" and then reinstall the OMS after cleaning up the failed installation.

下面网下载安装

https://oraclelinux.pkgs.org/8/ol8-appstream-x86_64/compat-libpthread-nonshared-2.28-251.0.2.el8_10.5.x86_64.rpm.html