Configuring the .profile file for UNIX users

UNIX users using the Connector for ODBC must configure their .profile file to set the proper environment variables for ODBC. The entries below are for the supported operating system platforms.

Solaris

The additional .profile file settings needed for ODBC on Solaris are listed below:

export ODBCHOME=/opt/odbc
export ODBCINI=/opt/odbc/odbc.ini
export PATH=$PATH:$ODBCHOME/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ODBCHOME/lib

AIX

The additional .profile file settings needed for ODBC on AIX are listed below:

export ODBCHOME=/opt/odbc
export ODBCINI=/opt/odbc/odbc.ini
export PATH=$PATH:$ODBCHOME/bin
export LIBPATH=$ODBCHOME/lib:$LIBPATH

Linux

The additional .profile file settings needed for ODBC on Linux are listed below:

export ODBCHOME=/opt/odbc
export ODBCINI=/opt/odbc/odbc.ini
export PATH=$PATH:$ODBCHOME/bin
export LIBPATH=$LIBPATH:$ODBCHOME/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ODBCHOME/lib