Try OpenEdge Now
skip to main content
DataServer for Oracle
Building DataServer Executables : Building executables for the UNIX Client
 

Building executables for the UNIX Client

This section contains instructions for building client executables. The script is located in the oebuild/make directory under the root of your OpenEdge install.
To build a UNIX client executable:
1. Open a terminal and invoke a Bourne shell (/bin/sh) on the system where OpenEdge is installed.
2. Change to user 'root'.
3. Set and export the environment variable DLC to the OpenEdge installation directory. For example:
DLC=/usr/OpenEdge/dlc
export DLC
4. Optionally set and export the environment variable IMAGE to the full pathname of the executable to be generated. By default the client executable is named:
$DLC/oebuild/orarx
5. Set the environment variable ORACLE_HOME to the top level directory of your Oracle installation. For example:
ORACLE_HOME=/usr/oracle/9i
export ORACLE_HOME
6. Verify that the variable PATH contains the directory to the linker.
7. 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
8. Run the script $DLC/oebuild/make/build_orarx.sh. If you did not set the IMAGE variable, the Oracle DataServer client executable is built as $DLC/oebuild/orarx, otherwise the executable is built as specified by $IMAGE.
Note: To use your new executable once it is built, you must replace your default executable or set the PROEXE environment variable.
* Replacing your default client executable:
* Identifing your new executable with an environment variable and without relocating