Views:

Summary



On some UNIX and Linux systems, you cannot run the detect command, due to insufficiently-defined environment variables.

Symptoms



When you attempt to run the detect command on some UNIX and Linux nodes, error messages such as the following are returned:

Cannot find libcmapi.so



Resolution



These errors occur when the library path does not include the DPX/lib directory.

To resolve this issue, you must add the DPX/lib directory to the library path, using the following procedure.

  1. Log in to the node as root.
  2. The correct library path differs based on your specific version of UNIX or Linux. Run the following commands substituting the DPX directory path, using the syntax appropriate to your Shell:
  • For Linux, non-HPUX or non-AIX:

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:<Absolute Path of DPX Installation>/lib

exportLD_LIBRARY_PATH

  • For HPUX:

SHLIB_PATH=${SHLIB_PATH}:<Absolute Path of DPX Installation>/lib

export SHLIB_PATH

  • For AIX:

LIBPATH=${LIBPATH}:<Absolute Path of DPX Installation>/lib

export LIBPATH

Now run the detect command again.