mod_dld.c
file, and is not
compiled in by default. It provides for loading of executable
code and modules into the server at start-up time, using the
GNU dld library.
Note that for some reason, LoadFile /lib/libc.a
seems to be required for just about everything.
Note: that DLD needs to read the symbol table out of the server binary when starting up; these commands will fail if the server can't find its own binary when it starts up, or if that binary is stripped.
The LoadFile directive links in the named object files or libraries when the server is started; this is used to load additional code which may be required for some module to work. Filename is relative to ServerRoot.
The LoadModule directive links in the object file or library
filename and adds the module structure named
module to the list of active modules. Module
is the name of the external variable of type
module
in the file. Example:
LoadModule ai_backcompat_module
modules/mod_ai_backcompat.o
LoadFile /lib/libc.a
loads the module in the modules subdirectory of the ServerRoot.