[asterisk-speech-rec] Hang while loading res_speech_lumenvox.so

jeff quade jjq90 at hotmail.com
Wed Aug 22 18:35:01 CDT 2007


I dont know what to tell you.My Clean Install described in previous post-- works 100%(Note current FC7-Live installs kernel: 2.6.21-1.3194.fc7 which must be upgraded in my doc)You may be right about the build environ-- if we have FTP'd different files.But that would be strange since were talking about RELEASE binaries here.Notice my res_speech_lumenvox.so contains no dated libs when listed via ldd-- ie: No libcrypto.so.4 => ../lib/libcrypto.so.4 (0x01093000)Since Im not a LumenVox or Asterisk employee I cant help ya.Good Luck-jjq

From: sysadmin at airlinksystems.comTo: asterisk-speech-rec at lists.digium.comCC: Date: Wed, 22 Aug 2007 18:07:41 -0500Subject: Re: [asterisk-speech-rec] Hang while loading res_speech_lumenvox.so I think I am using same res_speech_lumen.so as you are.  It seems to me that it links against more than on libcrypto: [root at web1 asterisk]# ldd /root/asterisk-downloads/asterisk-1.4.x-lumenvox-support-linux-i686-32bit-b16-engine7.5/res_speech_lumenvox.so | grep crypto        libcrypto.so.6 => /lib/libcrypto.so.6 (0x00cd4000)        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00edb000)        libcrypto.so.4 => not found[root at web1 asterisk]#  Notice there it says for libcrypto.so.4 "not found".  That's because I removed that link.  Now, the connector and asterisk seem to start.  However, sudo does not work without libcypto.so.4.  Python, and thus yum, also don't work. It is likely that the fact that the res_speech_lumenvox.so links against two versions of libcrypto, and only works when it happens to find just one, is an accident from someone's build environment. Is there any chance of getting a re-built .so ? It might be possible to get around this using the $LD_LIBRARY_PATH in some way, but it seems kludgy and likely to cause problems in the future. --Rob========================= Hey-Theres libcrypto.so.4 !!!4th line-item from bottom in your ldd output!Fresh Kernel-source installs or FC5/6/7 clean installs dont include the older lib (which was last included in FC4!!!!) And I think the NEW "connector" (see below) does NOT compile against it.From the looks of it-- you have a different Lumenvox Conector Library!Try this file on the Lumenvox download page:asterisk-1.4.x-lumenvox-support-linux-i686-32bit-b16-engine7.5.tar.gzIt works for me.###################################################Heres my ldd against res_speech_lumenvox.so:    linux-gate.so.1 =>  (0x00110000)    liblv_lvspeechport.so => /opt/lumenvox/engine_7.5/lib/liblv_lvspeechport.so (0x00117000)    libc.so.6 => /lib/libc.so.6 (0x001ba000)    liblv_lvlib.so => /opt/lumenvox/engine_7.5/lib/liblv_lvlib.so (0x0030e000)    liblv_bnf_dict.so => /opt/lumenvox/engine_7.5/lib/liblv_bnf_dict.so (0x00381000)    liblv_messagerouter.so => /opt/lumenvox/engine_7.5/lib/liblv_messagerouter.so (0x003b1000)    liblv_passcheck.so => /opt/lumenvox/engine_7.5/lib/liblv_passcheck.so (0x003ec000)    liblv_lvspeechgrammar.so => /opt/lumenvox/engine_7.5/lib/liblv_lvspeechgrammar.so (0x00444000)    liblv_uritools.so => /opt/lumenvox/engine_7.5/lib/liblv_uritools.so (0x00575000)    liblv_ecma_engine.so => /opt/lumenvox/engine_7.5/lib/liblv_ecma_engine.so (0x00594000)    liblv_stltypes.so => /opt/lumenvox/engine_7.5/lib/liblv_stltypes.so (0x005b1000)    libboost_thread.so.2 => /usr/lib/libboost_thread.so.2 (0x005c0000)    libboost_date_time.so.2 => /usr/lib/libboost_date_time.so.2 (0x005cc000)    liblv_signal_processing.so => /opt/lumenvox/engine_7.5/lib/liblv_signal_processing.so (0x005db000)    liblv_pitch_detect.so => /opt/lumenvox/engine_7.5/lib/liblv_pitch_detect.so (0x00625000)    liblv_lvspeech.so => /opt/lumenvox/engine_7.5/lib/liblv_lvspeech.so (0x0063b000)    liblv_lvpal.so => /opt/lumenvox/engine_7.5/lib/liblv_lvpal.so (0x00657000)    liblv_licenseclient.so => /opt/lumenvox/engine_7.5/lib/liblv_licenseclient.so (0x00692000)    liblv_linux_win32.so => /opt/lumenvox/engine_7.5/lib/liblv_linux_win32.so (0x006b4000)    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x006be000)    libm.so.6 => /lib/libm.so.6 (0x007a9000)    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x007d2000)    /lib/ld-linux.so.2 (0x80000000)    libspeex.so.1 => /usr/lib/libspeex.so.1 (0x007de000)    liblv_lvenv.so => /opt/lumenvox/engine_7.5/lib/liblv_lvenv.so (0x00801000)    libuuid.so.1 => /lib/libuuid.so.1 (0x00807000)    liblv_lvbts.so => /opt/lumenvox/engine_7.5/lib/liblv_lvbts.so (0x0080b000)    liblv_phonemes.so => /opt/lumenvox/engine_7.5/lib/liblv_phonemes.so (0x0084d000)    libjs.so => /opt/lumenvox/engine_7.5/lib/libjs.so (0x0085c000)    libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00926000)    liblv_gram_adapter.so => /opt/lumenvox/engine_7.5/lib/liblv_gram_adapter.so (0x00965000)    liblv_lvtest.so => /opt/lumenvox/engine_7.5/lib/liblv_lvtest.so (0x00975000)    libcppunit.so => /opt/lumenvox/engine_7.5/lib/libcppunit.so (0x00997000)    libboost_regex.so.2 => /usr/lib/libboost_regex.so.2 (0x009e0000)    librt.so.1 => /lib/librt.so.1 (0x00a81000)    libpthread.so.0 => /lib/libpthread.so.0 (0x00a8a000)    libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00aa2000)    liblv_reply_mqrouter.so => /opt/lumenvox/engine_7.5/lib/liblv_reply_mqrouter.so (0x00bd6000)    liblv_lvlicense.so => /opt/lumenvox/engine_7.5/lib/liblv_lvlicense.so (0x00bea000)    liblv_compression.so => /opt/lumenvox/engine_7.5/lib/liblv_compression.so (0x00c12000)    libnspr4.so => /usr/lib/libnspr4.so (0x00c32000)    libidn.so.11 => /usr/lib/libidn.so.11 (0x00c6a000)    libssl.so.6 => /lib/libssl.so.6 (0x00c9b000)    libcrypto.so.6 => /lib/libcrypto.so.6 (0x00ce0000)    libz.so.1 => /lib/libz.so.1 (0x00e13000)    libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00e26000)    libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00e54000)    libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00ee7000)    libcom_err.so.2 => /lib/libcom_err.so.2 (0x00f0d000)    libresolv.so.2 => /lib/libresolv.so.2 (0x00f10000)    libdl.so.2 => /lib/libdl.so.2 (0x00f24000)    libxslt.so.1 => /usr/lib/libxslt.so.1 (0x00f29000)    libicui18n.so.36 => /usr/lib/libicui18n.so.36 (0x00f5f000)    libicuuc.so.36 => /usr/lib/libicuuc.so.36 (0x2e16d000)    libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x61bbb000)    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x5982d000)    libicudata.so.36 => /usr/lib/libicudata.so.36 (0xb75bb000)###################################################From: sysadmin at airlinksystems.comTo: asterisk-speech-rec at lists.digium.comCC: Date: Wed, 22 Aug 2007 16:22:19 -0500Subject: Re: [asterisk-speech-rec] Hang while loading res_speech_lumenvox.so Thanks.  I installed that rpm and manually fixed the links for /lib/libssl.so* and /lib/libcrypto.so.* Still no change, however.  It hangs, and if I remove /usr/lib/asterisk/modules/res_speech_lumenvox.so, then it works. I think there must be other libraries that are different between our two machines.  I have pasted the output of "ldd /usr/lib/asterisk/modules/res_speech_lumenvox.so" below, if you could do the same I could compare the two and find the library that is different, I think.  [root at web1 ~]# ldd /usr/lib/asterisk/modules/res_speech_lumenvox.so         linux-gate.so.1 =>  (0x00110000)        liblv_lvspeechport.so => /opt/lumenvox/engine_7.5/lib/liblv_lvspeechport.so (0x00117000)        libc.so.6 => /lib/libc.so.6 (0x001ba000)        liblv_lvlib.so => /opt/lumenvox/engine_7.5/lib/liblv_lvlib.so (0x0030e000)        liblv_bnf_dict.so => /opt/lumenvox/engine_7.5/lib/liblv_bnf_dict.so (0x00381000)        liblv_messagerouter.so => /opt/lumenvox/engine_7.5/lib/liblv_messagerouter.so (0x003b1000)        liblv_passcheck.so => /opt/lumenvox/engine_7.5/lib/liblv_passcheck.so (0x003ec000)        liblv_lvspeechgrammar.so => /opt/lumenvox/engine_7.5/lib/liblv_lvspeechgrammar.so (0x00444000)        liblv_uritools.so => /opt/lumenvox/engine_7.5/lib/liblv_uritools.so (0x00575000)        liblv_ecma_engine.so => /opt/lumenvox/engine_7.5/lib/liblv_ecma_engine.so (0x00594000)        liblv_stltypes.so => /opt/lumenvox/engine_7.5/lib/liblv_stltypes.so (0x005b1000)        libboost_thread.so.2 => /usr/lib/libboost_thread.so.2 (0x005c0000)        libboost_date_time.so.2 => /usr/lib/libboost_date_time.so.2 (0x005cc000)        liblv_signal_processing.so => /opt/lumenvox/engine_7.5/lib/liblv_signal_processing.so (0x005db000)        liblv_pitch_detect.so => /opt/lumenvox/engine_7.5/lib/liblv_pitch_detect.so (0x00625000)        liblv_lvspeech.so => /opt/lumenvox/engine_7.5/lib/liblv_lvspeech.so (0x0063b000)        liblv_lvpal.so => /opt/lumenvox/engine_7.5/lib/liblv_lvpal.so (0x00657000)        liblv_licenseclient.so => /opt/lumenvox/engine_7.5/lib/liblv_licenseclient.so (0x00692000)        liblv_linux_win32.so => /opt/lumenvox/engine_7.5/lib/liblv_linux_win32.so (0x006b4000)        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x006be000)        libm.so.6 => ../lib/libm.so.6 (0x007a9000)        libgcc_s.so.1 => ../lib/libgcc_s.so.1 (0x007d2000)        /lib/ld-linux.so.2 (0x80000000)        libspeex.so.1 => /usr/lib/libspeex.so.1 (0x007de000)        liblv_lvenv.so => /opt/lumenvox/engine_7.5/lib/liblv_lvenv.so (0x00801000)        libuuid.so.1 => ../lib/libuuid.so.1 (0x00807000)        liblv_lvbts.so => /opt/lumenvox/engine_7.5/lib/liblv_lvbts.so (0x0080b000)        liblv_phonemes.so => /opt/lumenvox/engine_7.5/lib/liblv_phonemes.so (0x0084d000)        libjs.so => /opt/lumenvox/engine_7.5/lib/libjs.so (0x0085c000)        libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00926000)        liblv_gram_adapter.so => /opt/lumenvox/engine_7.5/lib/liblv_gram_adapter.so (0x00965000)        liblv_lvtest.so => /opt/lumenvox/engine_7.5/lib/liblv_lvtest.so (0x00975000)        libcppunit.so => /opt/lumenvox/engine_7.5/lib/libcppunit.so (0x00997000)        libboost_regex.so.2 => /usr/lib/libboost_regex.so.2 (0x009e0000)        librt.so.1 => ../lib/librt.so.1 (0x00a81000)        libpthread.so.0 => ../lib/libpthread.so.0 (0x00a8a000)        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00aa2000)        liblv_reply_mqrouter.so => /opt/lumenvox/engine_7.5/lib/liblv_reply_mqrouter.so (0x00bd6000)        liblv_lvlicense.so => /opt/lumenvox/engine_7.5/lib/liblv_lvlicense.so (0x00bea000)        liblv_compression.so => /opt/lumenvox/engine_7.5/lib/liblv_compression.so (0x00c12000)        libnspr4.so => /usr/lib/libnspr4.so (0x00c32000)        libidn.so.11 => /usr/lib/libidn.so.11 (0x00c6a000)        libssl.so.6 => ../lib/libssl.so.6 (0x00c9b000)        libcrypto.so.6 => ../lib/libcrypto.so.6 (0x00cd4000)        libz.so.1 => ../lib/libz.so.1 (0x00e07000)        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00e1a000)        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00e48000)        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00edb000)        libcom_err.so.2 => ../lib/libcom_err.so.2 (0x00f01000)        libresolv.so.2 => ../lib/libresolv.so.2 (0x00f04000)        libdl.so.2 => ../lib/libdl.so.2 (0x00f18000)        libxslt.so.1 => /usr/lib/libxslt.so.1 (0x00f1d000)        libicui18n.so.36 => /usr/lib/libicui18n.so.36 (0x00f54000)        libicuuc.so.36 => /usr/lib/libicuuc.so.36 (0x25125000)        libcrypto.so.4 => ../lib/libcrypto.so.4 (0x01093000)        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x25007000)        libkeyutils.so.1 => ../lib/libkeyutils.so.1 (0x0a42b000)        libicudata.so.36 => /usr/lib/libicudata.so.36 (0xb759d000)[root at web1 ~]#   >oops-- slight revision: >Notice change in symlink entries-- you need both 4 and 5 links. Im not sure >the yum update/rpm creates both !! >>>This has been a problem for months-->>On my box-- the fix is:>>yum install openssl097a>>which installs (dated) libs:>>/lib/libcrypto.so.0.9.7a>/lib/libcrypto.so.4 (symlink to libcrypto.so.0.9.7a)>/lib/libcrypto.so.5 (symlink to libcrypto.so.0.9.7a)>>And:>>/lib/libssl.so.0.9.7a>/lib/libssl.so.4 (symlink to libssl.so.0.9.7a)>/lib/libssl.so.5 (symlink to libssl.so.0.9.7a)>>I have not looked into the problem any deeper-- other than coming up with >the fix. Something has been compiled against the dated libs-- and it would >seem the updated libs are not compatible.>>Cheers->jjqNew home for Mom, no cleanup required. All starts here. 


_________________________________________________________________
See what you’re getting into…before you go there
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-speech-rec/attachments/20070822/c956c53d/attachment-0001.htm 


More information about the asterisk-speech-rec mailing list