<div dir="ltr">I guess you get nothing when you run this command<div><br></div><div>nm -D `locate libsndfile.so | head -n 1` | grep sf_writef_int<br></div><div><br></div><div>Try installing libsndfile from <a href="http://www.mega-nerd.com/libsndfile/#Download">http://www.mega-nerd.com/libsndfile/#Download</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 6, 2015 at 2:18 AM, S.Mohammad Emami Razavi <span dir="ltr"><<a href="mailto:emamirazavi@gmail.com" target="_blank">emamirazavi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div class="h5"><div><div><div><div><div><div><div>I have problem with loading this two important modules in version FreeSWITCH Version 1.7.0+git~20150626T195140Z~2a1195e55d~64bit<br></div>I have installed them:<br>[root@voip freeswitch]# make mod_sndfile-install<br>make[1]: Entering directory `/usr/local/src/freeswitch'<br> /usr/bin/mkdir -p '/usr/local/freeswitch/lib'<br> /bin/sh /usr/local/src/freeswitch/libtool --mode=install /usr/bin/install -c <a href="http://libfreeswitch.la" target="_blank">libfreeswitch.la</a> '/usr/local/freeswitch/lib'<br>libtool: install: /usr/bin/install -c .libs/libfreeswitch.so.1.0.0 /usr/local/freeswitch/lib/libfreeswitch.so.1.0.0<br>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; }; })<br>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; }; })<br>libtool: install: /usr/bin/install -c .libs/libfreeswitch.lai /usr/local/freeswitch/lib/<a href="http://libfreeswitch.la" target="_blank">libfreeswitch.la</a><br>libtool: install: /usr/bin/install -c .libs/libfreeswitch.a /usr/local/freeswitch/lib/libfreeswitch.a<br>libtool: install: chmod 644 /usr/local/freeswitch/lib/libfreeswitch.a<br>libtool: install: ranlib /usr/local/freeswitch/lib/libfreeswitch.a<br>libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/freeswitch/lib<br>----------------------------------------------------------------------<br>Libraries have been installed in:<br> /usr/local/freeswitch/lib<br><br>If you ever happen to want to link against installed libraries<br>in a given directory, LIBDIR, you must either use libtool, and<br>specify the full pathname of the library, or use the `-LLIBDIR'<br>flag during linking and do at least one of the following:<br> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable<br> during execution<br> - add LIBDIR to the `LD_RUN_PATH' environment variable<br> during linking<br> - use the `-Wl,-rpath -Wl,LIBDIR' linker flag<br> - have your system administrator add LIBDIR to `/etc/ld.so.conf'<br><br>See any operating system documentation about shared libraries for<br>more information, such as the ld(1) and ld.so(8) manual pages.<br>----------------------------------------------------------------------<br>make[1]: Leaving directory `/usr/local/src/freeswitch'<br>make[1]: Entering directory `/usr/local/src/freeswitch/src/mod'<br><br>making install mod_sndfile<br>make[2]: Entering directory `/usr/local/src/freeswitch/src/mod/formats/mod_sndfile'<br>make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod/formats/mod_sndfile'<br>make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod'<br><br></div><br><br><br></div>and i configure:<br>[root@voip freeswitch]# vim /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml<br><br></div>and i have uncommented <load module="mod_sndfile"/><br><br></div>but in fs_cli when i call module_exists it prints false or calling load mod_sndfile results:<br>freeswitch@internal> load mod_sndfile<br>+OK Reloading XML<br>-ERR [module load file routine returned an error]<br><br>2015-07-05 17:30:11.737311 [INFO] mod_enum.c:880 ENUM Reloaded<br>2015-07-05 17:30:11.737311 [CRIT] switch_loadable_module.c:1520 Error Loading module /usr/local/freeswitch/mod/mod_sndfile.so<br>**/usr/local/freeswitch/mod/mod_sndfile.so: undefined symbol: sf_writef_int**<br>2015-07-05 17:30:11.737311 [INFO] switch_time.c:1411 Timezone reloaded 1781 definitions<br>freeswitch@internal> <br><br><br></div>My OS is CentOS Linux release 7.1.1503 (Core)<br><br></div></div></div>Any view?<br></div>
</div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Aron Podrigal<div>-</div><div>//Be happy :-)</div></div></div>
</div>