This appendix contains the values of the environment variables required for your Sybase applications to compile and work correctly. The environment variables that must be set depends on your application, and include:
SYBASE – set to the path of the Sybase installation directory.
SYBASE_OCS – set to the subdirectory containing the Open Client and Open Server version number. For example, OCS-15_0.
DSQUERY – set to the name of the Adaptive Server or Open Server.
DSLISTEN – set to the name of the Open Server.
SYBPLATFORM – depends on the platform that you are running and whether or not you are using reentrant libraries. Refer to Table B-1 for the appropriate variable setting.
You must set the platform specific library path variable listed in Table B-1 to $SYBASE/$SYBASE_OCS/lib to run programs linked with shareable (dynamic) libraries. If you are running in debug mode, set the platform-specific library path variable to $SYBASE/$SYBASE_OCS/devlib.
Platform |
SYBPLATFORM setting |
Library path variable |
---|---|---|
Mac OS X on Intel, 32-bit |
macosx |
DYLD_LIBRARY_PATH |
Mac OS X on Intel, 32-bit (using native threads) |
nthread_macosx |
DYLD_LIBRARY_PATH |