[asterisk-dev] How to debug non-loading module?

Kevin P. Fleming kpfleming at digium.com
Sat Dec 30 19:35:55 MST 2006


Brian Capouch wrote:
> E.g.
> CLI> load res_config_pgsql.so
> [Dec 30 16:41:49] WARNING[2028]: loader.c:375 load_dynamic_module:
> Module 'res_config_pgsql.so' did not register itself during load
> [Dec 30 16:41:49] WARNING[2028]: loader.c:607 load_resource: Module
> 'res_config_pgsql.so' could not be loaded.

This is an indication that the module is not a 1.4.x compatible module,
because it did not run the registration constructor when it was loaded.
Either that your or environment is not reliably running module
constructors after dlopen() opens them.


More information about the asterisk-dev mailing list