13.5.6. Library Environment Variables

Library environment variables are used for customizing the location of bundled files.

Table 13.7. Library Environment Variables

Environment Variable Name Purpose
OPENSHIFT_Cart_Name_LD_LIBRARY_PATH_ELEMENT Configures the location of each cartridge's library file.


The global directory for a cartridge is set with LD_LIBRARY_PATH. However, cartridges may be competing for a place in the set directory. Configure the destination of each cartridge's files with OPENSHIFT_Cart_Name_LD_LIBRARY_PATH_ELEMENT to merge each cartridge's library into the global directory. Note that the order that the files are entered into the global directory is add-on cartridges first, then web framework cartridges. Red Hat recommends not changing the location of the LD_LIBRARY_PATH environment variable.