Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ck_rand_load_file.c:(.text+0xd4): undefined reference to `stat' for libnnzst.a(ccme_ck_rand_load_fileS1.o): in function `r_c

Hi,

Good afternoon.

This is Srinivasa Rao Katta from India.
I am trying to setup Oracle RAC 21c(grid home 21c) on two redhat linux RHEL 9 on our Oracle Virtual box.

Here is RHEL 9 information;

Linux redhat-1.miet.corp 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 19 09:37:00 EST 2024 x86_64 x86_64 x86_64 GNU/Linux

I have installed following two prerequisites on redhat linux,as follows;

oracle-database-preinstall-21c-1.0-1.el8.x86_64.rpm
oracle-database-preinstall-23ai-1.0-2.el9.x86_64.rpm

Our grid setup.sh was failing to compile the libs at rdbms.mk.

I have tried to run following cmd by user oracle under $ORACLE_HOME/rdbms/lib ;

make -f ins_rdbms.mk iorion
----------------------------------------------------------------------------------------
error:
/usr/bin/ld: /u01/app/oracle/product/21c/grid/lib//libnnzst.a(ccme_ck_rand_load_fileS1.o): in function `r_ck_random_load_file':
ck_rand_load_file.c:(.text+0xd4): undefined reference to `stat'
make: *** [ins_rdbms.mk:945: /u01/app/oracle/product/21c/grid/rdbms/lib/orion] Error 1
---------------------------------------------------------------------------------

Please advice me how can I fix the above error.

Thanking you,
Srinivas,
skatta33@gmail.com

Comments
Post Details
Added on Feb 4 2025
0 comments
49 views