Database and library environment variables (UNIX)
Set database and library environment variables required for your databases (customer tables and, if you chose Manual Database Setup during installation, the system tables) and operating system in the setenv.sh file as described in the following tables.
Database environment variables
DB2®
DB2DIR=full_dir_path
DB2® installation directory (for example, /usr/lpp/db2_06_01).
. full_path_to_db2profile
Sources the database configuration for DB2® users (e.g./home/db2inst1/sqllib/db2profile).
Note the ". " (period and then a space).
NZ_ODBC_INI_PATH=full_dir_path
(e.g. /opt/odbc64v51)
ODBCINI=full_path_and_file_name
Full path to the odbc.ini file
ORACLE_BASE=full_dir_path
ORACLE_HOME=full_dir_path
Oracle's home directory (e.g. /home/oracle/OraHome1).
ODBCINI=full_path_and_file_name
Full path to the obdc.ini file
Library environment variable
Define the library environment variable as follows, depending on your UNIX operating system.
SunOS and Linux
AIX®
For example: LIBPATH=<Campaign_Home>/bin:<path to DB lib directory>:/usr/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/lib
For example: SHLIB_PATH=<Campaign_Home>/bin:<path to DB lib directory>:/usr/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/lib
Library directories for Oracle databases
Different versions of Oracle have different naming conventions for their lib directories. Older versions used lib for 32-bit and lib64 for 64-bit. Newer versions use lib32 for 32-bit and lib for 64-bit.
If you install 32-bit Campaign, you must include either $ORACLE_HOME/lib32 or $ORACLE_HOME/lib - whichever one contains the 32-bit Oracle libraries.
If you install 64-bit Campaign, you must include either $ORACLE_HOME/lib or $ORACLE_HOME/lib64 - whichever one contains the 64-bit Oracle libraries.
*