My Oracle Support Banner

Cannot Relink Rtsora On RH 4.0 (Doc ID 412354.1)

Last updated on JANUARY 29, 2022

Applies to:

Precompilers - Version to [Release 10.2]
Red Hat Advanced Server
Linux x86


With 10.2 procob/rtsora on RH 4.0  receiving 'cannot find -lgcc ' error when building rtsora executable or the oracle provided sample programs

> make -f relink ORACLE_HOME=/d1/app/oracle/product/ora10gDBR2  EXENAME=rtsora

/Linking /d1/app/oracle/product/ora10gDBR2/precomp/lib/rtsora
ld: cannot find -lgcc

> make -f build EXE=sample1 COBS=sample1.cob
procob iname=sample1.pco

Pro*COBOL: Release - Production on Wed Dec 6 16:33:32 2006

Copyright (c) 1982, 2005, Oracle. All rights reserved.

System default option values taken from:

cob -C IBMCOMP -C NESTCALL -t -x -o sample1 sample1.cob
/d1/app/oracle/product/ora10gDBR2/precomp/lib/cobsqlintf.o -lclntsh `cat
/d1/app/oracle/product/ora10gDBR2/lib/ldflags` `cat
/d1/app/oracle/product/ora10gDBR2/lib/sysliblist` -ldl -lm
* Ignored - NESTCALL
ld: cannot find -lgcc
make: *** [build] Error 1


Linux x86-64 has no Pro*COBOL for RH 4.0 on Oracle 10g


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

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