My Oracle Support Banner

19c Database Installation/relink fails with :"Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile ins_rdbms.mk " (Doc ID 2760289.1)

Last updated on APRIL 17, 2023

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

 Additionally on AIX, we may observer below errors:

ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 300)
INFO: in object $ORACLE_HOME//lib/libasmclntsh19.a[kgfo.o]:
The symbol refers to a csect with symbol number 0, which was not
found. The new symbol cannot be associated with a csect and
is being ignored.

 

 

3> On SLES-15

a) 19c Installation on SLES 15 SP3/SP4

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.

 

b) Upgraded SLES 15 SP1 to SLES 15SP4 and then execution of relink of 19c binaries failed.

INFO:
/usr/bin/ld: cannot find -lclntshcore: No such file or directory
|
INFO:
/usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a: No such file or directory

INFO:
make: *** [/<ORACLE_HOME>/network/lib/ins_net_client.mk:59: trcroute] Error 1

INFO: End output from spawned process.
INFO: ----------------------------------
SEVERE: oracle.sysman.oii.oiil.OiilActionException: Error in invoking target 'itrcroute' of makefile '<ORACLE_HOME>/network/lib/ins_net_client.mk'. See '<ORACLE_HOME>/install/relinkActions2023-03-07_01-17-58PM.log' for details.
        at oracle.sysman.oii.oiis.OiisMakeDeps.invokeMakefile(OiisMakeDeps.java:537)

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
 1) On Linux:
 2) On AIX:
 3> On SLES-15
 a) 19c Installation on SLES 15 SP3/SP4
 b) Upgraded SLES 15 SP1 to SLES 15SP4 and then execution of relink of 19c binaries failed.
Changes
Cause
Solution
 1) On Linux:
 2) On AIX:
 3) On SLES 15:
 a)
 b)
  


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.