There are two additional environmental variables that need to be set for StampPDF Batch on all UNIX platforms. If these variables are not set, you will receive the message “error while loading shared libraries. libDLXXpdfl.so: cannot open shared object file: No such file or directory.”
The first environmental variable that needs to be set is APPLIGENT_HOME. This stores the location of the Appligent home directory. The default location for the Appligent home directory is /usr/local/appligent. The Appligent home directory contains the library files and resources needed to run StampPDF Batch. It also contains license information for StampPDF Batch.
Example for setting this variable:
export APPLIGENT_HOME=/usr/local/appligent
The second environmental variable is:
LD_LIBRARY_PATH
on UNIX (except AIX, see below). The APDFL library path must be added to the LD_LIBRARY_PATH variable. The APDFL library path is located in a subdirectory of the APPLIGENT_HOME directory.
The path should be set to:
${APPLIGENT_HOME}/APDFLX.X.X/Libs
Example for setting the LD_LIBRARY_PATH variable:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${APPLIGENT_HOME}/APDFLX.X.X/Libs
FOR AIX USERS ONLY!
The environmental variable is LIBPATH. The APDFL library path is located in a subdirectory of the APPLIGENT_HOME directory. The path should be set to:
${APPLIGENT_HOME}/APDFLX.X.X/Libs
Example for setting the LIBPATH variable:
export LIBPATH=${LIBPATH}:${APPLIGENT_HOME}/APDFLX.X.X/Libs