Setting Up Views, Views DB Link, and Data Access on UNIX

Set the ILVHOME and DBLINK_HOME variables.

If using sh or one of its derivatives, such as ksh or bash, type:

$ ILVHOME=/usr/perforce/viewsXX

$ DBLINK_HOME=/usr/perforce/dblinkXX

$ export ILVHOME DBLINK_HOME

If using csh or tcsh, type:

% setenv ILVHOME /usr/perforce/viewsXX

% setenv DBLINK_HOME /usr/perforce/dblinkXX

The setting up of these variables can be automated by putting the above commands in your shell startup file (either .profile if using sh, or .login if using csh).

If you are using Sun Ultra Sparc with Solaris 8.x, set up the shared library path variable.

The directory containing the Views shared libraries must be added to the shell variable LD_LIBRARY_PATH.

You should set the LD_LIBRARY_PATH variable.

If using sh or one of its derivatives, type:

$ LD_LIBRARY_PATH=$ILVHOME/lib/<system>/shared:$LD_LIBRARY_PATH

$ LD_LIBRARY_PATH=$ILVHOME/studio/<system>shared:$LD_LIBRARY_PATH

$ LD_LIBRARY_PATH=$DBLINK_HOME/lib/<system>/shared:$LD_LIBRARY_PATH

$ export LD_LIBRARY_PATH

If using csh or tcsh, and the variable LD_LIBRARY_PATH is not already defined, type:

% setenv LD_LIBRARY_PATH $ILVHOME/lib/<system>/shared

% setenv LD_LIBRARY_PATH $ILVHOME/studio/<system>/shared:$LD_LIBRARY_PATH

% setenv LD_LIBRARY_PATH $DBLINK_HOME/lib/<system>/shared:$LD_LIBRARY_PATH

If using csh or tcsh, and the variable LD_LIBRARY_PATH is already defined, type:

% setenv LD_LIBRARY_PATH $ILVHOME/lib/<system>/shared:$LD_LIBRARY_PATH

% setenv LD_LIBRARY_PATH $ILVHOME/studio/<system>/shared:$LD_LIBRARY_PATH

% setenv LD_LIBRARY_PATH $DBLINK_HOME/lib/<system>/shared:$LD_LIBRARY_PATH

The setting up of these variables can be automated by putting the above commands in your shell startup file (either .profile if using sh, or .login if using csh).