<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><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>Any view?<br></div>
</div><br></div>