重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4768|回复: 0
打印 上一主题 下一主题

19c安装报错:'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib'

[复制链接]
跳转到指定楼层
楼主
发表于 2022-8-15 20:01:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
19c Database Installation fails with :"Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile ins_rdbms.mk " (Doc ID 2760289.1)


In this Document

Symptoms

        1) On Linux:

        2) On AIX:

        3> On SLES-15

Cause

Solution

        1) On Linux:

        2) On AIX:

        3) On SLES 15:


APPLIES TO:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later

Generic Linux

IBM AIX on POWER Systems (64-bit)

SYMPTOMS

Oracle 19c installation or cloning fails with below errors:


1) On Linux:

INFO:

/usr/bin/ld: cannot find /usr/lib64/crti.o:

INFO:

No such file or directory


INFO:

/usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a


INFO:

make[2]: *** [ld_shlib] Error 1


INFO:

make[2]: Leaving directory '/u01/app/oracle/product/19.3.0/rdbms/lib'


INFO:

make[1]: *** [/u01/app/oracle/product/19.3.0/lib/libasmclntsh19.so] Error 2


INFO:

make[1]: Leaving directory '/u01/app/oracle/product/19.3.0/rdbms/lib'


INFO:

make: *** [libasmclntsh19.ohso] Error 2


INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile '/u01/app/oracle/product/19.3.0/rdbms/lib/ins_rdbms.mk'.

Exception Severity: 1

INFO: [Mar 5, 2021 1:08:29 PM] Adding ExitStatus STOP_INSTALL to the exit status set

INFO: [Mar 5, 2021 1:08:29 PM] Finding the most appropriate exit status for the current application

INFO: [Mar 5, 2021 1:08:29 PM] Exit Status is -4

INFO: [Mar 5, 2021 1:08:29 PM] Shutdown Application




2) On AIX:

INFO:

ld: 0706-006 Cannot find or open library file: -l m


INFO:

ld:open(): A file or directory in the path name does not exist.


INFO:

make: 1254-004 The error code from the last command is 255.


Stop.


INFO:

make: 1254-004 The error code from the last command is 2.


Stop.


INFO:

make: 1254-004 The error code from the last command is 2.


INFO:


Stop.


INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile '/u01/app/oracle/product/19.3.0/rdbms/lib/ins_rdbms.mk'.

Exception Severity: 1

INFO: [Jul 26, 2021 9:55:16 PM] Adding ExitStatus STOP_INSTALL to the exit status set

INFO: [Jul 26, 2021 9:55:16 PM] Finding the most appropriate exit status for the current application

INFO: [Jul 26, 2021 9:55:16 PM] Exit Status is -4

INFO: [Jul 26, 2021 9:55:16 PM] Shutdown Application




3> On SLES-15



INFO:

/usr/bin/ld: cannot find -lclntshcore


INFO:

make[2]: *** ['/u01/app/oracle/product/19.3.0/rdbms/lib/env_rdbms.mk:5064: dlopenlib] Error 1


INFO:

make[2]: Leaving directory ''/u01/app/oracle/product/19.3.0/rdbms/lib'


INFO:

make[1]: *** ['/u01/app/oracle/product/19.3.0/rdbms/lib/env_rdbms.mk:5042: '/u01/app/oracle/product/19.3.0/lib/libasmperl19.so] Error 2


INFO:

make[1]: Leaving directory ''/u01/app/oracle/product/19.3.0/rdbms/lib'


INFO:

make: *** ['/u01/app/oracle/product/19.3.0/rdbms/lib/env_rdbms.mk:5079: libasmperl19.ohso] Error 2


INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile ''/u01/app/oracle/product/19.3.0/rdbms/lib/ins_rdbms.mk'. See '/tmp/InstallActions2022-02-16_11-20-21AM/installActions2022-02-16_11-20-21AM.log' for details.

Exception Severity: 1

INFO: Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile ''/u01/app/oracle/product/19.3.0/rdbms/lib/ins_rdbms.mk'. See '/tmp/InstallActions2022-02-16_11-20-21AM/installActions2022-02-16_11-20-21AM.log' for details.




CAUSE

Due to missing OS packages.




SOLUTION

1) On Linux:

The files crti.o and libpthread_nonshared.a missing and it is due to glibc-devel rpm.


$ rpm -q --whatprovides /usr/lib64/crti.o

glibc-devel-2.17-157.el7.x86_64

$ rpm -q --whatprovides /usr/lib64/libpthread_nonshared.a

glibc-devel-2.17-157.el7.x86_64

Install glibc-devel rpm and then re-try the 19c installation.


This rpm is the pre-required rpm for 19c Installation on Linux.


Refer the 19c Installation guide on Linux.




2) On AIX:

The file /usr/lib/libm.a  missing and it is due to bos.adt.libm fileset.


lslpp -w /usr/lib/libm.a

File Fileset Type

----------------------------------------------------------------------------

/usr/lib/libm.a bos.adt.libm Symlink

Install  bos.adt.libm AIX fileset and then re-try the 19c installation.


This fileset is the pre-required fileset for 19c Installation on AIX.


Refer the 19c Installation guide on AIX.


3) On SLES 15:

A glibc package update in SLES 15 SP3 caused some enterprise software to fail due to the missing libpthread_nonshared.a file.

Install compat-libpthread-nonshared package and re-try the Oracle 19c installation


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-28 23:43 , Processed in 0.114153 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表