It is crucial to the operation of Sybase products that the system environment variables be set correctly.
Environment variables are set in the user’s environment either interactively or by including them in the user’s .login and .cshrc files (for C shell) or .profile file (for Bourne shell). The installation instructions in this guide explain when to set these variables:
DSLISTEN – defines the name Adaptive Server uses to listen for client connections if no name is given during the Adaptive Server start-up. If DSLISTEN is not set, and no name is given during the Adaptive Server start-up, the Adaptive Server name defaults to the server name given at installation.
DSQUERY – defines the Adaptive Server name that client programs try to connect to if no Adaptive Server is specified with a command-line option. If DSQUERY is not set, and you do not supply the Adaptive Server name with a command-line option, clients attempt to connect to the server name given at installation.
SYBASE – defines the path of the Sybase installation directory. The installation program sets up the variable SYBASE to point to the release directory specified during installation.
SYBASE_ASE – defines the subdirectory of the Adaptive Server component.
SYBASE_OCS – defines the subdirectory to which the Open Client™ is set.
SYBASE_ FTS – defines the subdirectory for the full-text search components.
Full-text search components are not available on Mac OS X.
SYBASE_SYSAM – points to the license-management software directory.
LM_LICENSE_FILE – points to the license.dat file, which is located in the $SYBASE_SYSAM/licenses/ directory by default.
PATH – specifies which directory path to search for executables. The Sybase executables are located in the installed components /bin directory. When using the source files SYBASE.csh or SYBASE.sh, the following paths are prepended to PATH:
$SYBASE/$SYBASE_ASE/bin:$SYBASE/$SYBASE_OCS/bin
LD_LIBRARY_PATH – this variable specifies which directory to search for shared libraries. The Sybase shared libraries are located in the installed component’s /lib directory.
When using the source files: SYBASE.csh or SYBASE.sh, the following paths are prepended to the LD_LIBRARY_PATH environment variable:
$SYBASE/$SYBASE_ASE/lib:$SYBASE/$SYBASE_OCS/lib:$SYBASE/SYBASE_FTS/lib,etc.
DYLD_LIBRARY_PATH – this variable is specific to Macintosh OS X. It accomplishes the same tasks as LD_LIBRARY_PATH.
LIBPATH – on the IBM RS/6000 platform, this variable specifies which directory to search for executables. The Sybase executables are located in the installed component’s /bin directory.
When using the source files: SYBASE.csh or SYBASE.sh, the following paths are prepended to the LIBPATH environment variable:
$SYBASE/$SYBASE_ASE/lib:$SYBASE/$SYBASE_OCS/lib: $SYBASE/SYBASE_FTS/lib, etc.