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

标题: 19c安装报错:'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' [打印本页]

作者: 郑全    时间: 2022-8-15 20:01
标题: 19c安装报错:'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib'
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







欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2