Options > Data Access Getting Started > Setting Up Data Access > Setting Up Views Views, Views DB Link, and Data Access on UNIX
Setting Up Views Views, Views DB Link, and Data Access on UNIX
1. 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).
2. 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).
Published date: 05/24/2022
Last modified date: 02/24/2022