Configure Your Environment 3.7
HP IA32 Platform
The following environment variables must be defined prior to building applications.
ACRO_RES_DIR Specifies the location of your CMap files; e.g.
setenv ACRO_RES_DIR /APDFL6.1.1/Resource/Cmap
Also see important details in “Specifying CMaps for PDWordFinder Use” on page 3.6 (preceding).
OS Operating System
setenv OS ia32hpux
PSRESOURCEPATH A colon-separated list specifying all of your resources, a list of directories to search
for fonts; e.g.
setenv PSRESOURCEPATH
/APDFL6.1.1/Resource/Cmap:/APDFL6.1.1/Resource/Font
SHLIB_PATH A colon-separated list specifying all of your library file locations; e.g.
setenv SHLIB_PATH
/APDFL6.1.1/Libs:/DLI/Libs:/usr/local/lib
CAUTION: As of Adobe PDF Library v6.1.1 and DLI v3.0.22, proper setting of the OS
(Operating System) variable is now required in order to correctly build the DLI
sample applications.
CAUTION: Under some circumstances a link error may occur if libdli.sl
attempts to fully specify a path to the location of
libAGM.sl. If this occurs, use
the chatr command to direct it to stop specifying paths to library locations:
chatr +b disable +s enable libname
In this case the libname is libdli.sl. Although the error message refers to a
problem in the location for
libAGM.sl, it is libdli.sl which is issuing that
incorrect path. The chatr command will direct
libdli.sl to stop specifying a
path for
libAGM.sl.
The user must either be in the DLI/Libs directory or fully qualify the libname
(e.g.
/datalogics/DLI/libdli.sl).