mod_dingaling crashes FS with can't resolve symbol 'gcry_control'
I have my FS v1.0.6 hosted on a Seagate http://www.seagate.com/www/en-us/products/network_storage/freeagent_dockstar... DockStar device running on an OpenWRT firmware with a complete of gnutls packages installed, i.e. certtool, gnutls-utils, libgnutls, libgnutls-extra, and libgnutls-openssl. FS will work just fine sans mod_dingaling. If I enable mod_dingaling in conf/autoload_configs/modules.conf.xml file as shown below, my FS will crash with an error message saying can't resolve symbol 'gcry_control'. <!-- Event Handlers --> <load module="mod_cdr_csv"/> <load module="mod_event_multicast"/> <load module="mod_event_socket"/> <!-- <load module="mod_zeroconf"/> --> <!-- Directory Interfaces --> <!-- <load module="mod_ldap"/> --> <!-- Endpoints --> <load module="mod_dingaling"/> <!-- <load module="mod_portaudio"/> --> <load module="mod_alsa"/> <load module="mod_sofia"/> <load module="mod_loopback"/> It crashes while loading the mod_dingaling module as shown below (excerpted from the shell when running freeswitch -waste -conf /usr/share/freeswitch/examples/conf/ -log /var/freeswitch/log/ -db /var/freeswitch/db: 2010-09-07 20:42:04.769354 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_console] 2010-09-07 20:42:04.774611 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_logfile] 2010-09-07 20:42:04.776526 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_syslog] 2010-09-07 20:42:04.779679 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_enum] 2010-09-07 20:42:04.803729 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_cdr_csv] 2010-09-07 20:42:04.808656 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_event_multicast] 2010-09-07 20:42:04.814565 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_event_socket] freeswitch: can't resolve symbol 'gcry_control' This corresponds to the output (last few lines) from strace freeswitch -waste -conf /usr/share/freeswitch/examples/conf/ -log /var/freeswitch/log/ -db /var/freeswitch/db as shown below: open("/lib/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libgpg-error.so.0", O_RDONLY) = 13 fstat(13, {st_mode=S_IFREG|0755, st_size=10086, ...}) = 0 close(13) = 0 open("/lib/libc.so.0", O_RDONLY) = 13 fstat(13, {st_mode=S_IFREG|0644, st_size=321007, ...}) = 0 close(13) = 0 open("/lib/libc.so.0", O_RDONLY) = 13 fstat(13, {st_mode=S_IFREG|0644, st_size=321007, ...}) = 0 close(13) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40007000 write(2, "", 0) = 0 write(2, "freeswitch", 10freeswitch) = 10 write(2, ": can't resolve symbol '", 24: can't resolve symbol ') = 24 write(2, "gcry_control", 12gcry_control) = 12 write(2, "'\n", 2' ) = 2 munmap(0x40007000, 4096) = 0 exit(1) = ? root@DockStar:/# FYI, I used the /usr/share/freeswitch/examples/conf if that matters. ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-dingaling-crashes-FS-with-... Sent from the freeswitch-users mailing list archive at Nabble.com.
you have a bad copy of libgcrypt and gnutls you are out of luck On Tue, Sep 7, 2010 at 8:08 PM, mazilo <Nabble@slickdeals.endjunk.com> wrote:
I have my FS v1.0.6 hosted on a Seagate http://www.seagate.com/www/en-us/products/network_storage/freeagent_dockstar... DockStar device running on an OpenWRT firmware with a complete of gnutls packages installed, i.e. certtool, gnutls-utils, libgnutls, libgnutls-extra, and libgnutls-openssl. FS will work just fine sans mod_dingaling. If I enable mod_dingaling in conf/autoload_configs/modules.conf.xml file as shown below, my FS will crash with an error message saying can't resolve symbol 'gcry_control'. <!-- Event Handlers --> <load module="mod_cdr_csv"/> <load module="mod_event_multicast"/> <load module="mod_event_socket"/> <!-- <load module="mod_zeroconf"/> -->
<!-- Directory Interfaces --> <!-- <load module="mod_ldap"/> -->
<!-- Endpoints --> <load module="mod_dingaling"/> <!-- <load module="mod_portaudio"/> --> <load module="mod_alsa"/> <load module="mod_sofia"/> <load module="mod_loopback"/> It crashes while loading the mod_dingaling module as shown below (excerpted from the shell when running freeswitch -waste -conf /usr/share/freeswitch/examples/conf/ -log /var/freeswitch/log/ -db /var/freeswitch/db: 2010-09-07 20:42:04.769354 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_console] 2010-09-07 20:42:04.774611 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_logfile] 2010-09-07 20:42:04.776526 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_syslog] 2010-09-07 20:42:04.779679 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_enum] 2010-09-07 20:42:04.803729 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_cdr_csv] 2010-09-07 20:42:04.808656 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_event_multicast] 2010-09-07 20:42:04.814565 [CONSOLE] switch_loadable_module.c:900 Successfully Loaded [mod_event_socket] freeswitch: can't resolve symbol 'gcry_control' This corresponds to the output (last few lines) from strace freeswitch -waste -conf /usr/share/freeswitch/examples/conf/ -log /var/freeswitch/log/ -db /var/freeswitch/db as shown below: open("/lib/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libgpg-error.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libgpg-error.so.0", O_RDONLY) = 13 fstat(13, {st_mode=S_IFREG|0755, st_size=10086, ...}) = 0 close(13) = 0 open("/lib/libc.so.0", O_RDONLY) = 13 fstat(13, {st_mode=S_IFREG|0644, st_size=321007, ...}) = 0 close(13) = 0 open("/lib/libc.so.0", O_RDONLY) = 13 fstat(13, {st_mode=S_IFREG|0644, st_size=321007, ...}) = 0 close(13) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40007000 write(2, "", 0) = 0 write(2, "freeswitch", 10freeswitch) = 10 write(2, ": can't resolve symbol '", 24: can't resolve symbol ') = 24 write(2, "gcry_control", 12gcry_control) = 12 write(2, "'\n", 2' ) = 2 munmap(0x40007000, 4096) = 0 exit(1) = ? root@DockStar:/# FYI, I used the /usr/share/freeswitch/examples/conf if that matters.
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-dingaling-crashes-FS-with-... Sent from the freeswitch-users mailing list archive at Nabble.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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Anthony Minessale wrote:
you have a bad copy of libgcrypt and gnutls you are out of luck
I suspect the libgcrypt is to blame. Thanks for your quick response. ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-dingaling-crashes-FS-with-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Anthony Minessale wrote:
you have a bad copy of libgcrypt and gnutls you are out of luck
Anthony, Do you know what digest and cipher options are used by mod_dingaling? On OpenWRT, libgcrypt is compiled with the following options: --enable-digests="md5 rmd160 sha1 sha256 sha512" --enable-ciphers="arcfour des aes" --enable-pubkey-ciphers="rsa dsa" ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-dingaling-crashes-FS-with-... Sent from the freeswitch-users mailing list archive at Nabble.com.
I'm not sure, I am using centos 5.2 and its working for me. On Sep 8, 2010 5:30 PM, "mazilo" <Nabble@slickdeals.endjunk.com> wrote: Anthony Minessale wrote:
you have a bad copy of libgcrypt and gnutls you are out of luck
Anthony, Do you know what digest and cipher options are used by mod_dingaling? On OpenWRT, libgcrypt is compiled with the following options: --enable-digests="md5 rmd160 sha1 sha256 sha512" --enable-ciphers="arcfour des aes" --enable-pubkey-ciphers="rsa dsa" ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used... View this message in context: http://freeswitch-users.2379917.n2.nabble.com/mod-dingaling-crashes-FS-with-... Sent from the freeswitch-users mailing list archive at Nabble.com. ________________________________...
participants (2)
-
Anthony Minessale
-
mazilo