[asterisk-dev] linking/loading external library

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Nov 27 13:44:29 CST 2013


On Tue, Nov 26, 2013 at 09:45:44AM +0200, alexander merkulov wrote:
> hi
> i am gooing to use libfftw3 library in asterisk application.
> 
> compilation is ok, but when i am loading module i get error like this:
> 
> dev*CLI> module load app_amdb.so
> Unable to load module app_amdb.so
> Command 'module load app_amdb.so' failed.
> [Nov 26 07:44:51] WARNING[17342]: loader.c:481 load_dynamic_module: Error
> loading module 'app_amdb.so': /usr/lib/asterisk/modules/app_amdb.so:
> undefined symbol: fftw_plan_dft_1d
> [Nov 26 07:44:51] WARNING[17342]: loader.c:894 load_resource: Module
> 'app_amdb.so' could not be loaded.
> dev*CLI>

What's the output of:

  ldd /usr/lib/asterisk/modules/app_amdb.so

?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-dev mailing list