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 10.2.0.1 to 10.2.0.5 [Release 10.2]
Red Hat Advanced Server
Linux x86

Symptoms

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 ins_precomp.mk 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 demo_procob.mk build EXE=sample1 COBS=sample1.cob
procob iname=sample1.pco

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

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

System default option values taken from:
/d1/app/oracle/product/ora10gDBR2/precomp/admin/pcbcfg.cfg

cob -C IBMCOMP -C NESTCALL -t -x -o sample1 sample1.cob
-L/d1/app/oracle/product/ora10gDBR2/lib/
/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

Changes

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

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


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