[Freeswitch-dev] mod_shout and mod_sndfile are not loaded

Vallimamod Abdullah vma at 440hz.fr
Sun Jul 5 18:41:15 MSD 2015


Hi,

The most interesting log line is:

> 2015-07-05 17:30:11.737311 [CRIT] switch_loadable_module.c:1520 Error Loading module /usr/local/freeswitch/mod/mod_sndfile.so
> **/usr/local/freeswitch/mod/mod_sndfile.so: undefined symbol: sf_writef_int**

Looks like your system is missing the libsndfile dynamic library. Try to install it via your package manager.

Best Regards,
Vallimamod
.


> On 05 Jul 2015, at 15:01, S.Mohammad Emami Razavi <emamirazavi at gmail.com> wrote:
> 
> I‌ have problem with loading this two important modules in version FreeSWITCH Version 1.7.0+git~20150626T195140Z~2a1195e55d~64bit
> I have installed them:
> [root at voip freeswitch]# make mod_sndfile-install
> make[1]: Entering directory `/usr/local/src/freeswitch'
>  /usr/bin/mkdir -p '/usr/local/freeswitch/lib'
>  /bin/sh /usr/local/src/freeswitch/libtool   --mode=install /usr/bin/install -c   libfreeswitch.la <http://libfreeswitch.la/> '/usr/local/freeswitch/lib'
> libtool: install: /usr/bin/install -c .libs/libfreeswitch.so.1.0.0 /usr/local/freeswitch/lib/libfreeswitch.so.1.0.0
> libtool: install: (cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1.0.0 libfreeswitch.so.1 || { rm -f libfreeswitch.so.1 && ln -s libfreeswitch.so.1.0.0 libfreeswitch.so.1; }; })
> libtool: install: (cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1.0.0 libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1.0.0 libfreeswitch.so; }; })
> libtool: install: /usr/bin/install -c .libs/libfreeswitch.lai /usr/local/freeswitch/lib/libfreeswitch.la <http://libfreeswitch.la/>
> libtool: install: /usr/bin/install -c .libs/libfreeswitch.a /usr/local/freeswitch/lib/libfreeswitch.a
> libtool: install: chmod 644 /usr/local/freeswitch/lib/libfreeswitch.a
> libtool: install: ranlib /usr/local/freeswitch/lib/libfreeswitch.a
> libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/freeswitch/lib
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/freeswitch/lib
> 
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
>    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
> 
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> make[1]: Leaving directory `/usr/local/src/freeswitch'
> make[1]: Entering directory `/usr/local/src/freeswitch/src/mod'
> 
> making install mod_sndfile
> make[2]: Entering directory `/usr/local/src/freeswitch/src/mod/formats/mod_sndfile'
> make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod/formats/mod_sndfile'
> make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod'
> 
> 
> 
> 
> and i configure:
> [root at voip freeswitch]# vim /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
> 
> and i have uncommented <load module="mod_sndfile"/>
> 
> but in fs_cli when i call module_exists it prints false or calling load mod_sndfile results:
> freeswitch at internal> load mod_sndfile
> +OK Reloading XML
> -ERR [module load file routine returned an error]
> 
> 2015-07-05 17:30:11.737311 [INFO] mod_enum.c:880 ENUM Reloaded
> 2015-07-05 17:30:11.737311 [CRIT] switch_loadable_module.c:1520 Error Loading module /usr/local/freeswitch/mod/mod_sndfile.so
> **/usr/local/freeswitch/mod/mod_sndfile.so: undefined symbol: sf_writef_int**
> 2015-07-05 17:30:11.737311 [INFO] switch_time.c:1411 Timezone reloaded 1781 definitions
> freeswitch at internal> 
> 
> 
> My OS is CentOS Linux release 7.1.1503 (Core)
> 
> Any idea?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20150705/97a6722b/attachment-0001.html 


Join us at ClueCon 2014 Aug 4-7, 2014
More information about the FreeSWITCH-dev mailing list