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 Variable Description
  • On HP-UX Itanium:

    $LD_LIBRARY_PATH

    $SHLIB_PATH

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

    $LD_LIBRARY_PATH

  • On Solaris:

    $LD_LIBRARY_PATH

    $LD_LIBRARY_PATH_64

  • On IBM AIX:

    $LIBPATH

Subdirectory path to the Open Client and Open Server runtime shared library and the connector libraries
$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
$SYBASE_OCS Subdirectory path to Open Client files
$SYBASE_REP Subdirectory path to Replication Server