Setting environment variables

InstallShield automatically sets system environment variables that are needed by InstallShield. InstallShield installs three files that contain these environment variables:

After you exit InstallShield, you may need to reset environment variables, for example, if someone other than the sybase administrator must use the software.

To set these environment variables, you can either:

Table 2-4 describes the environment variables.

Table 2-4: Environment variables for UNIX

Environment variable

Description

Solaris, and SGI: $LD_LIBRARY_PATH

AIX: $LIBPATH

HP: $SHLIB_PATH

Not available on Mac OS X – the subdirectory path to the Open Client and Open Server runtime shared library.

$LM_LICENSE_FILE

The subdirectory path to the license.dat file, which SySAM needs to run the license manager.

$PATH

The directory path to Replication Server files.

$SYBASE

The home directory where you install all Sybase products.

$SYBASE_JRE

The subdirectory path to the Java Runtime Environment (JRE).

$SYBASE_OCS

The subdirectory path to Open Client files.

$SYBASE_REP

The subdirectory path to Replication Server.

$SYBASE_RSM

Set to the subdirectory of the Replication Server Manager.

$SYBASE_RMP

The subdirectory path to the Replication Manager plug-in to Sybase Central, Java Edition.

$SYBASE_SYSAM

The subdirectory path to SySAM license manager.

%SYBASE_RSP%

The subdirectory path to the Replication Server plug-in to Sybase Central, Windows Edition, if you install it from the PC-Client CD.

After all Replication Server environment variables are set, you can: