Appendix B: Environment Variables

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:

Table B-1: SYBPLATFORM and library path

Platform

SYBPLATFORM setting

Platform-specific library path variable

HP 9000 (8xx) - 32-bit

HP 9000 (8xx) - 32-bit using native threads

hpux

nthread_hpux

SHLIB_PATH

HP 9000 (8xx) - 64-bit

HP 9000 (8xx) - 64-bit using native threads

hpux64

nthread_hpux64

LD_LIBRARY_PATH

HP Itanium - 32-bit

HP Itanium - 32-bit using native threads

hpia

nthread_hpia

SHLIB_PATH

HP Itanium - 64-bit

HP Itanium - 64-bit using native threads

hpia64

nthread_hpia64

LD_LIBRARY_PATH

IBM RS/6000 - 32-bit

IBM RS/6000 - 32-bit using native threads

rs6000

nthread_rs6000

LIBPATH

IBM RS/6000 - 64-bit

IBM RS/6000 - 64-bit using native threads

rs600064

nthread_rs600064

LIBPATH

Linux - 32-bit

Linux - 32-bit using native threads

linux

nthread_linux

LD_LIBRARY_PATH

Linux on POWER - 32-bit

Linux on POWER - 32-bit using native threads

ibmplinux

nthread_ibmplinux

LD_LIBRARY_PATH

Linux on POWER - 64-bit

Linux on POWER - 64-bit using native threads

ibmplinux64

nthread_ibmplinux64

LD_LIBRARY_PATH

Linux AMD64 (Opteron)/EM64T

Linux AMD64 (Opteron)/EM64T using native threads

linuxamd64

nthread_linuxamd64

LD_LIBRARY_PATH

Sun Solaris 2.x - 32-bit

Sun Solaris 2.x - 32-bit using native threads

sun_svr4

nthread_sun_svr4

LD_LIBRARY_PATH

Sun Solaris 2.x - 64-bit

Sun Solaris 2.x - 64-bit using native threads

sun_svr464

nthread_sun_svr464

LD_LIBRARY_PATH_64

Sun Solaris 10 x64 (Opteron) 32-bit

Sun Solaris 10 x64 (Opteron) 32-bit using native threads

sunx86

nthread_sunx86

LD_LIBRARY_PATH

Sun Solaris 10 x64 (Opteron) 64-bit

Sun Solaris 10 x64 (Opteron) 64-bit using native threads

sunx8664

nthread_sunx8664

LD_LIBRARY_PATH_64

For Embedded SQL/COBOL applications you must set the following environment variables in addition to the ones listed above: