mod_shout and mod_sndfile are not loaded
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 idea?
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@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 <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@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 idea?
Package dependency issues with your operating system. Check for newer versions of the required system libs. On Sunday, July 5, 2015, 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 idea?
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
participants (3)
-
Anthony Minessale
-
S.Mohammad Emami Razavi
-
Vallimamod Abdullah