Building a UNIX host executable
Print
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Building a UNIX host executable
- Open a terminal and invoke a Bourne shell (/bin/sh) on the system where OpenEdge is installed.
-
Change to user '
root'. -
Set and export the environment variable
DLCto the OpenEdge installation directory. For example:DLC=/usr/OpenEdge/dlc export DLC -
Optionally set and export the environment variable
IMAGEto the full pathname of the executable being generated. By default the client executable is named:$DLC/oebuild/_orasrv -
Set the environment variable
ORACLE_HOMEto the top level directory of your Oracle installation. For example:ORACLE_HOME=/usr/oracle/9i export ORACLE_HOME -
Verify that the variable
PATHcontains the directory to the linker. -
Unset all the library path variables for your operating system.
The script sets these variables as required. For example:
unset LD_LIBRARY_PATH LIBPATH SHLIB_PATH -
Run the script $DLC/oebuild/make/build_orasrv.sh. If
you did not set the
IMAGEvariable, the Oracle DataServer server executable is built as:$DLC/oebuild/_orasrv, otherwise the executable is built as specified by $IMAGENote: To use your new executable once it is built, you must set theORASRVenvironment variable.