I guess you get nothing when you run this command nm -D `locate libsndfile.so | head -n 1` | grep sf_writef_int Try installing libsndfile from http://www.mega-nerd.com/libsndfile/#Download On Mon, Jul 6, 2015 at 2:18 AM, S.Mohammad Emami Razavi < emamirazavi@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@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 '/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 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@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@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@internal>
My OS is CentOS Linux release 7.1.1503 (Core)
Any view?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Aron Podrigal - //Be happy :-)