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