Problem
The installation of Oracle 7.3.4 on an SCO OpenServer Release 5.0.5 machine may fail due to an improperly configured compiler. After the Oracle software and the UnixWare/OpenServer Development Kit (UDK) are installed, the following command will fail. It may look different, depending on the version of Oracle:
# make -s ins_rdbms.mk procopt ioracleThis may fail with the following command:
/usr/ccs/lib/crt1.o fatal: cannot open ELF for inputand/or:Make: *** [Oracle error 13] Cause
This is caused by an improperly configured developed system; the UDK should not be used for compiling Oracle. Instead, the SCO OpenServer Development System must be installed in its place.
Solution
You must remove the entire UDK and install the SCO OpenServer Development System. After this, there may be some object files that were created by the UDK (for example, config.o) that have to be removed so that they can be rebuilt with the proper compiler.
In order to remove the UDK, all of the packages need to be removed.
Some of the packages are dependent upon one another, so when
prompted to remove them, do so. The following commands should
be run as root:# pkgrm baseupd
# pkgrm uccs
# pkgrm ucplus
# pkgrm ustdcomps
# pkgrm OSRcompat
# pkgrm unmsdk
# pkgrm xdevsys
# pkgrm mtfdev
# pkgrm BASEman
# pkgrm usoftint
# pkgrm jdk113
# pkgrm jdk113pls
# pkgrm js10
# pkgrm jws20
# pkgrm udkmanNext, to install the SCO OpenServer Development System, insert
the OpenServer 5.0.5 media. From the GUI (Graphical User
Interface), run the Software Manager and choose:Software -> Install new -> SCO OpenServer Development System
Or from the command line, type:# customand choose:Software -> Install new -> SCO OpenServer Development System
This will install the proper compiler that is required by Oracle. You can now try the make command again. If it returns another error, possibly something similar to:
config.o fatal: cannot open ELF for inputit means that there are still some object files (*.o) that were built with the UDK which cannot be linked into the final build.
The command:# make cleanmay fix this. If not, manually remove the *.o files generated by the make command.
The make command should now work:# make -s ins_rdbms.mk procopt ioracleIf it still fails, consult Oracle for further advice.
See also
TA#125212 - "My application is failing to build on OpenServer 5.0.7 with undefined symbols _fini and _init"