Relink Fails During Install of 19c on RHEL9 and SLES 15 SP6 on Linux on IBM Z
(Doc ID 3064394.1)
Last updated on MARCH 07, 2025
Applies to:
Gen 2 Exadata Cloud at Customer - Version N/A and laterOracle Database - Enterprise Edition - Version 19.21.0.0.0 and later
Oracle Cloud Infrastructure - Exadata Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.
Symptoms
While installing 19c on RHEL9 on Linux on IBM Z relink fails:
The installActions<timestamp>.log on RHEL9 shows:
...
INFO:
- Linking Oracle
INFO:
rm -f /u02/oracle/19c/dbhome1/rdbms/lib/oracle
...
INFO:
/usr/bin/ld: /u02/oracle/19c/dbhome1/lib//libserver19.a(jskm.o): in function `jskmCheckIMJobBCast':
jskm.c:(.text.unlikely+0x19882): undefined reference to `stat'
/usr/bin/ld: jskm.c:(.text.unlikely+0x198a2): undefined reference to `stat'
INFO:
/usr/bin/ld:
INFO:
/u02/oracle/19c/dbhome1/lib//libserver19.a(qmsqx.o): in function `qmsqxXQWindowSeqFastFetch1':
qmsqx.c:(.text.unlikely+0xc2aa): undefined reference to `stat'
INFO:
collect2: error: ld returned 1 exit status
INFO:
make: *** [/u02/oracle/19c/dbhome1/rdbms/lib/ins_rdbms.mk:851: /u02/oracle/19c/dbhome1/rdbms/lib/oracle] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'irman ioracle idrdactl idrdalsnr idrdaproc' of makefile '/u02/oracle/19c/dbhome1/rdbms/lib/ins_rdbms.mk'. See '/u02/tmpdir/InstallActions2024-12-12_12-11-03PM/installActions2024-12-12_12-11-03PM.log' for details.
Exception Severity: 1
INFO:
- Linking Oracle
INFO:
rm -f /u02/oracle/19c/dbhome1/rdbms/lib/oracle
...
INFO:
/usr/bin/ld: /u02/oracle/19c/dbhome1/lib//libserver19.a(jskm.o): in function `jskmCheckIMJobBCast':
jskm.c:(.text.unlikely+0x19882): undefined reference to `stat'
/usr/bin/ld: jskm.c:(.text.unlikely+0x198a2): undefined reference to `stat'
INFO:
/usr/bin/ld:
INFO:
/u02/oracle/19c/dbhome1/lib//libserver19.a(qmsqx.o): in function `qmsqxXQWindowSeqFastFetch1':
qmsqx.c:(.text.unlikely+0xc2aa): undefined reference to `stat'
INFO:
collect2: error: ld returned 1 exit status
INFO:
make: *** [/u02/oracle/19c/dbhome1/rdbms/lib/ins_rdbms.mk:851: /u02/oracle/19c/dbhome1/rdbms/lib/oracle] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'irman ioracle idrdactl idrdalsnr idrdaproc' of makefile '/u02/oracle/19c/dbhome1/rdbms/lib/ins_rdbms.mk'. See '/u02/tmpdir/InstallActions2024-12-12_12-11-03PM/installActions2024-12-12_12-11-03PM.log' for details.
Exception Severity: 1
Similarly in SLES 15 SP6, the installActions_<timestamp>.log shows:
INFO:
- Linking Oracle
INFO:
rm -f /scratch/oracle/19c/dbhome1/rdbms/lib/oracle
...
INFO:
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: /scratch/oracle/19c/dbhome1/lib//libserver19.a(jskm.o): in function `jskmCheckIMJobBCast':
jskm.c:(.text.unlikely+0x19882): undefined reference to `stat'
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: jskm.c:(.text.unlikely+0x198a2): undefined reference to `stat'
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: /scratch/oracle/19c/dbhome1/lib//libserver19.a(qmsqx.o): in function `qmsqxXQWindo
INFO:
wSeqFastFetch1':
qmsqx.c:(.text.unlikely+0xc2aa): undefined reference to `stat'
collect2: error: ld returned 1 exit status
INFO:
make: *** [/scratch/oracle/19c/dbhome1/rdbms/lib/ins_rdbms.mk:851: /scratch/oracle/19c/dbhome1/rdbms/lib/oracle] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'irman ioracle idrdactl idrdalsnr idrdaproc' of makefile '/scratch/oracle/19c/dbhome1/rdbms/lib/ins_rdbms.mk'. See '/scratch/tmpdir/InstallActions2025-02-28_10-51-39AM/installActions2025-02-28_10-51-39AM.log' for details.
Exception Severity: 1
- Linking Oracle
INFO:
rm -f /scratch/oracle/19c/dbhome1/rdbms/lib/oracle
...
INFO:
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: /scratch/oracle/19c/dbhome1/lib//libserver19.a(jskm.o): in function `jskmCheckIMJobBCast':
jskm.c:(.text.unlikely+0x19882): undefined reference to `stat'
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: jskm.c:(.text.unlikely+0x198a2): undefined reference to `stat'
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: /scratch/oracle/19c/dbhome1/lib//libserver19.a(qmsqx.o): in function `qmsqxXQWindo
INFO:
wSeqFastFetch1':
qmsqx.c:(.text.unlikely+0xc2aa): undefined reference to `stat'
collect2: error: ld returned 1 exit status
INFO:
make: *** [/scratch/oracle/19c/dbhome1/rdbms/lib/ins_rdbms.mk:851: /scratch/oracle/19c/dbhome1/rdbms/lib/oracle] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'irman ioracle idrdactl idrdalsnr idrdaproc' of makefile '/scratch/oracle/19c/dbhome1/rdbms/lib/ins_rdbms.mk'. See '/scratch/tmpdir/InstallActions2025-02-28_10-51-39AM/installActions2025-02-28_10-51-39AM.log' for details.
Exception Severity: 1
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 |
Changes |
Cause |
Solution |
References |