Updating environment variables

After you install OpenSwitch, you may need to update the environment variables. OpenSwitch supplies shell files to do this. These files are created at the end of the installation process under the root installation directory.

Go to the $SYBASE directory, and from a C shell, enter:

source SYBASE.csh

From a Bash, a Bourne, or a Korn shell, enter:

. ./SYBASE.sh

To run the coordination module sample in $OPENSWITCH/sample, ensure the $OPENSWITCH/lib and $SYBASE/$SYBASE_OCS/lib are included in the environment variable shown for your platform:

Table 4-1 describes the environment variables included in SYBASE.sh, SYBASE.csh, and SYBASE.env files.

Table 4-1: Environment variables for UNIX

Environment variable

Description

Linux, Linux on POWER:

$LD_LIBRARY_PATH

Sun Solaris:

$LD_LIBRARY_PATH

IBM AIX:

$LIBPATH

HP-UX:

$SHLIB_PATH

The subdirectory path to the Open Client and Open Server runtime library files.

$PATH

The directory path to OpenSwitch files.

$SYBASE

The home directory where you install all Sybase products.

$SYBASE_OCS

The subdirectory path to Open Client files.

$SYBASE_JRE

The subdirectory in which the Java Runtime Environment (JRE). OpenSwitch Manager Sybase Central plug-in uses this JRE for its runtime needs.

$OPENSWITCH

The subdirectory path to OpenSwitch.

$SCROOT

The subdirectory path to Sybase Central.

$SYBROOT

The parent directory of $SCROOT. If Sybase Central is installed in the same directory as OpenSwitch, $SYBASE and $SYBROOT are the same.