Step 4: Configuring Your Environment
Before you can begin using TotalView, you must add directories to your system's environment variables. On some systems, you will also need to mount the /proc directory.
Setting Environment Variables
The pathnames listed in the following table assume that:
- You installed the software as the root user.
- /opt/toolworks is the default installation directory.
- The Install program created the a symbolic link to this directory (refer to Step 2: Running the Install Program for details).
You will need to include the following path names in environment variables:
Environment Variable |
Path name |
PATH |
/opt/totalview/bin |
MANPATH |
/opt/totalview/man |
LD_LIBRARY_PATH (not on IBM RS/6000) |
/opt/totalview/lib |
LM_LICENSE_FILE |
nonstandard-dir/license.demo |
If you did not install TotalView as the root user, or if the Install program did not create the /opt/totalview or /usr/totalview links, you must add the following pathnames to your environment variables. In these variables, directories are separated by colon characters (:).
Environment Variable |
Path name |
PATH |
installdir/totalview.version/platform/bin |
MANPATH |
installdir/totalview.version/platform/man |
LD_LIBRARY_PATH (not on IBM RS/6000) |
installdir/totalview.version/platform/lib |
LM_LICENSE_FILE |
nonstandard-dir/license.dat |