Linking rtsora Fails Looking for crti.o (Doc ID 1020533.102)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version 8.0.3.0 to 11.1.0.7
Oracle Solaris on SPARC (32-bit)
Sun Solaris SPARC (32-bit)
Solaris Operating System (SPARC)
***Checked for relevance on 23-Aug-2012***

The correct version of the compiler is a prerequisite for the precompiler, so if you install the precompiler with an old version of the compiler then upgrade the compiler, similar errors may occur. The correct version of the compiler must be installed BEFORE the precompiler.


Symptoms

Relinking RTSORA using the following command returns errors.

$ make -f ins_precomp.mk relink EXENAME=rtsora

The error returned is :

> ld: fatal: file /opt/SUNWspro/SC4.0/lib/crti.o: open failed: No such
> file or directory
> *** Error code 1 make: Fatal error: Command failed for target `rtsora'

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms