Adobe® PDF Library

Environment Variables and Platform Considerations

Note that the Intel Solaris and the Mac 32 bit platforms are supported for Adobe PDF Library version 15, but not for version 18.

IBM pSeries (AIX) Platform (32 bit or 64 bit)

Adobe PDF Library for IBM pSeries (AIX) is distributed only in dynamic-library form. When building with the Library:

  • We strongly recommend using either GCC or the XL C/C++ compiler in multithreaded mode to drive the linker. We do not recommend ld.
  • The LIBPATH must be set for the resulting executables to locate all APDFL dynamic libraries (if necessary).

Adobe PDF Library 18 provides support for the IBM AIX platform, but not for the  .NET Interface.

BUILD_64_BIT 64-bit Application Build Flag (as appropriate for the platform)
export BUILD_64_BIT=true
export BUILD_64_BIT=false
DLE_INSTALL_LOCATION Define this environmental variable to point to the directory where the Datalogics Extension (DLE) package is stored, also known as the Adobe PDF Library Java and .NET Interface.
LIBPATH A colon-separated list specifying all library file locations, such as:
export LIBPATH=/APDFL15/CPlusPlus/Binaries:/usr/local/lib
OS Operating System:
export OS=rs6000aix (for XL C/C++)

Intel Solaris x86 Platform (32-bit) (APDFL 15 only)

LD_LIBRARY_PATH A colon-separated list specifying all library file locations, such as:
export LD_LIBRARY_PATH=/APDFL15/CPlusPlus/Binaries:/usr/local/lib
OS Operating System:
export OS=intelsolaris

 Intel Solaris x86 Platform (64 bit) (APDFL 15 only)

BUILD_64_BIT 64-bit Application Build Flag (as appropriate for the platform)
export BUILD_64_BIT=true
LD_LIBRARY_PATH A colon-separated list specifying all library file locations, such as:
export LD_LIBRARY_PATH=/APDFL15/CPlusPlus/Binaries:/usr/local/lib
LD_PRELOAD In order to address a known issue with gcc exception handling if using the Java Interface on the Sun Intel Solaris 64-Bit platform, an additional environment variable of LD_PRELOAD is required. This additional variable is needed for the Java  Interface use on this 64-bit platform only. This additional setup addresses a gcc exception handling problem, which is also discussed on the Oracle web site.
export LD_PRELOAD=/opt/gcc-intelsolaris 4.1.2/lib/amd64/libgcc_s.so.1
OS Operating System:
export OS=intelsolaris

Linux Platform

Adobe PDF Library 18 for Linux is distributed in dynamic library form.

The Library supports both 32 bit (i686) and 64 bit for Linux.

When building with the Library:

  • We strongly recommend using GCC to drive the linker. ld is not recommended.
  • The LD_LIBRARY_PATH must be set for the resulting executables to locate all APDFL dynamic libraries (if necessary).

The following environment variables must be defined prior to building applications.

BUILD_64_BIT 64-bit Application Build Flag (as appropriate for the platform)
export BUILD_64_BIT=true
export BUILD_64_BIT=false
DLE_INSTALL_LOCATION This applies to Adobe PDF Library 15 only.
Define this environmental variable to point to the directory where the Datalogics Extension (DLE) package, or the Java and .NET Interface, is stored.
LD_LIBRARY_PATH A colon-separated list specifying all library file locations, such as:
export OS=LIBPATH/APDFL18/CPlusPlus/Binaries:/usr/local/lib
OS Operating System:
export OS=i80386linux

Sun (UltraSPARC II) Solaris Platform 32 bit or 64 bit

Adobe PDF Library for Sun (UltraSPARC II) Solaris is distributed in dynamic library form.

The Java and .NET Interface is not supported for the 32 bit Solaris platform.

When building with the Library:

  • We strongly recommend using GCC to drive the linker. ld is not recommended.
  • The LD_LIBRARY_PATH must be set for the resulting executables to locate all APDFL dynamic libraries (if necessary).

The following environment variables must be defined prior to building applications.

BUILD_64_BIT 64-bit Application Build Flag (as appropriate for the platform)
export BUILD_64_BIT=true
export BUILD_64_BIT=false
DLE_INSTALL_LOCATION This applies to Adobe PDF Library 15 only.

Define this environmental variable to point to the directory where the Datalogics Extension (DLE) package, or the Java  Interface, is stored.

LD_LIBRARY_PATH A colon-separated list specifying all library file locations, such as:
export LD_LIBRARY_PATH=/APDFL15/CPlusPlus/Binaries:/usr/local/lib
OS Operating System:
export OS=sparcsolaris