<div dir="ltr"><br>
On Tue, Nov 26, 2013 at 09:45:44AM +0200, alexander merkulov wrote:<br>
> hi<br>
> i am gooing to use libfftw3 library in asterisk application.<br>
><br>
> compilation is ok, but when i am loading module i get error like this:<br>
><br>
> dev*CLI> module load app_amdb.so<br>
> Unable to load module app_amdb.so<br>
> Command 'module load app_amdb.so' failed.<br>
> [Nov 26 07:44:51] WARNING[17342]: loader.c:481 load_dynamic_module: Error<br>
> loading module 'app_amdb.so': /usr/lib/asterisk/modules/app_<div id=":2l4">amdb.so:<br>
> undefined symbol: fftw_plan_dft_1d<br>
> [Nov 26 07:44:51] WARNING[17342]: loader.c:894 load_resource: Module<br>
> 'app_amdb.so' could not be loaded.<br>
> dev*CLI><br>
<br>
>What's the output of:<br>
><br>> ldd /usr/lib/asterisk/modules/app_amdb.so<br>
><br>
>?<br>
<br></div><div id=":2l4">it not show linking to libfftw3.so.3<br><br></div><div id=":2l4">i found hack, if i add libfftw3 to LIB in Makefile, it worked, BUT that is nto how it have be designed,no?<br>
</div></div>