From GridLAB-D Wiki
Jump to: navigation, search

LDPOSTLINK -- Add command to execute after runtime class is linked


#setenv LDPOSTLINK=command


/bin/bash$ export LDPOSTLINK=command


Some operating systems require special commands to allow dynamic link or shared libraries to used after they are linked. For example, SELinux requires the following to load a runtime class after it is built and linked.

chcon -t textrel_shlib_t afile

To make this occur before the runtime module is loaded, use

/bin/bash$ export LDPOSTLINK=chcon -t textrel_shlib_t

to cause the command to be executed on every afile created by the runtime class compiler.


This option is supported as of Keeler (Version 4.0).

See also