Skip to end of metadata
Go to start of metadata

CentOS can be treated as a form of Red Hat Linux when working with Adobe PDF Library.

As with Red Hat Linux, two environment variables need to be set, LD_LIBRARY_PATH pointing to the location of the .so files, and the DLE_INSTALL_LOCATION:


In the DotNet and Java directory, you can run the samples such as ListFonts with the following command.

  Java -jar ListFonts.jar

If you want to run the ListFonts.jar from a different directory, copy the ListFonts.jar and the com.datalogics.PDFL.jar file to that location. Then use the same command to invoke it from that location.

Note that APDFL evaluation releases must be able to locate the eval.lic file. If your application can’t find this license file, Java will report a segmentation violation. The easiest way to resolve this is to set the RLM_LICENSE environment variable to point to the eval.lic file.

Also note that if you are running with Security Enhanced Linux (SELinux), you may encounter this error:

Cannot restore segment prot after reloc: Permission denied

You can allow these shared libraries to load by changing the security context to one that allows text segment relocation in shared libraries:

   chcon -t texrel_shlib_t [so name]
  • No labels