Environment Variables on UNIX

The Replication Server installer automatically sets the required system environment variables, such as PATH, as well as additional environment variables used by your newly installed Sybase software.

The environment variables are in these files:
  • $SYBASE/SYBASE.sh
  • $SYBASE/SYBASE.csh
  • $SYBASE/SYBASE.env

After exiting the Replication Server installer, you may need to reset the environment variables, for example, if someone other than the Sybase administrator must use the software.

To set these environment variables, you can either:
  • Source SYBASE.sh (Bourne, Korn, or BASH shell) or SYBASE.csh (C shell) to change the component’s environment variables immediately for your current session, before invoking any component, or,
  • Update the environment variables in the shell files to permanently change the component’s environment variables.
Environment Variables for UNIX and Linux
Environment Variable Description
  • For HP-UX Itanium:

    $LD_LIBRARY_PATH

    $SHLIB_PATH

  • For Linux, Linux on POWER (IBM pSeries):

    $LD_LIBRARY_PATH

  • For Sun Solaris:

    $LD_LIBRARY_PATH

    $LD_LIBRARY_PATH_64

  • For IBM AIX:

    $LIBPATH

Subdirectory path to the Open Client and Open Server runtime shared library
$PATH Includes directories that are needed to execute Replication Server (such as Replication Server executables and OCS libraries)
$SYBASE Home directory where you install all Sybase products
For HP-UX Itanium, Sun Solaris, and Linux:
  • $SYBASE_JRE6_32
Subdirectory path to where the Java Runtime Environment (JRE) resides
$SYBASE_JRE6 Subdirectory path to where the Java Runtime Environment (JRE) resides
For HP-UX Itanium, IBM AIX, Sun Solaris, and Linux on POWER (IBM pSeries):
  • $SYBASE_JRE6_64
Subdirectory path to where the Java Runtime Environment (JRE) resides

$SCC_JAVA_HOME

Subdirectory path to Sybase Control Center framework and Replication Monitoring Services

$SYBASE_OCS Subdirectory path to Open Client files
$SYBASE_REP Subdirectory path to Replication Server