• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[asterisk-speech-rec] Hang while loading res_speech_lumenvox

 
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec
View previous topic :: View next topic  
Author Message
sysadmin at airlinksystem
Guest





PostPosted: Wed Aug 22, 2007 7:53 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

Hi,

I have asterisk 1.4.10 (compiled from the tar.gz release) on Fedora Core 7 ( 32 bit of course ). I downloaded asterisk-1.4.x-lumenvox-support-linux-i686-32bit-b16-engine7.5.tar.gz from the LumenVox "Download Software" section, and I copied the res_speech_lumenvox.so to /usr/lib/asterisk/modules.

When I start up asterisk, asterisk seems to hang up or freeze when it gets to the point where it would read in res_speech_lumenvox.so. Here are the symptoms:

1) asterisk -rvvvvvv hangs with this on screen:
[root@web1 etc]# asterisk -rvvvvvv
Asterisk 1.4.10, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found

( I think this is because it can't connect to the running asterisk )

2) Incoming calls just ring and ring (same reason)

3) The last thing in the /var/log/asterisk/full log is some messages that come right before the first res_speech_lumenvox.so messages on my working Fedora Core 4 asterisk/lumenvox setups (about loading res_crypto.so) (However, there is no error message at all from an lumenvox code)

4) lsof shows the res_speech_lumenvox.so file open by the asterisk process

If I remove /usr/lib/asterisk/modules/res_speech_lumenvox.so then asterisk starts up, but of course SpeechCreate doesn't work.

I do have res_speech.so marked as "preload" in /etc/asterisk/modules.conf, and I can see where it was loaded in the full log.

If I do "ldd" on res_speech_lumenvox.so, I do not show any missing libraries.

Has anyone else had this problem ?

--Rob

========
Rob Ristroph
Airlink Systems, Inc


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
jcolp at digium.com
Guest





PostPosted: Wed Aug 22, 2007 8:08 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

This is a known issue being worked on. Stay tuned.

sysadmin@airlinksystems.com wrote:
Quote:
Hi,

I have asterisk 1.4.10 (compiled from the tar.gz release) on Fedora Core 7 ( 32 bit of course ). I downloaded asterisk-1.4.x-lumenvox-support-linux-i686-32bit-b16-engine7.5.tar.gz from the LumenVox "Download Software" section, and I copied the res_speech_lumenvox.so to /usr/lib/asterisk/modules.

When I start up asterisk, asterisk seems to hang up or freeze when it gets to the point where it would read in res_speech_lumenvox.so. Here are the symptoms:

1) asterisk -rvvvvvv hangs with this on screen:
[root@web1 etc]# asterisk -rvvvvvv
Asterisk 1.4.10, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found

( I think this is because it can't connect to the running asterisk )

2) Incoming calls just ring and ring (same reason)

3) The last thing in the /var/log/asterisk/full log is some messages that come right before the first res_speech_lumenvox.so messages on my working Fedora Core 4 asterisk/lumenvox setups (about loading res_crypto.so) (However, there is no error message at all from an lumenvox code)

4) lsof shows the res_speech_lumenvox.so file open by the asterisk process

If I remove /usr/lib/asterisk/modules/res_speech_lumenvox.so then asterisk starts up, but of course SpeechCreate doesn't work.

I do have res_speech.so marked as "preload" in /etc/asterisk/modules.conf, and I can see where it was loaded in the full log.

If I do "ldd" on res_speech_lumenvox.so, I do not show any missing libraries.

Has anyone else had this problem ?

--Rob

========
Rob Ristroph
Airlink Systems, Inc


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
sysadmin at airlinksystem
Guest





PostPosted: Wed Aug 22, 2007 8:37 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

That's great ! ( Well, it's great that you guys know it and it's already being worked on :) I'm glad to know I wasn't the only person to notice this. )

I also experimented with running asterisk -cvvvvvv to see if I could any more error messages out of it, no luck.

Just a general question here -- what would be the most stable and reliable of the supported linux versions to use ? For example, if I were on Fedora Core 6 instead of 7, would I still be having this problem ? What about the CentOS / RHEL versions ? Is there a particular distribution better supported than the others ?

If there is another version of linux I could use to avoid this particular problem, that would be great, because I would really like to try out the new background noise parameters that were recently added.

--Rob


Quote:
This is a known issue being worked on. Stay tuned.

sysadmin@airlinksystems.com wrote:
> Hi,
>
> I have asterisk 1.4.10 (compiled from the tar.gz release) on Fedora Core 7 ( 32 bit of course ). I downloaded asterisk-1.4.x-lumenvox-support-linux-i686-32bit-b16-engine7.5.tar.gz from the LumenVox "Download Software" section, and I copied the res_speech_lumenvox.so to /usr/lib/asterisk/modules.
>
> When I start up asterisk, asterisk seems to hang up or freeze when it gets to the point where it would read in res_speech_lumenvox.so. Here are the symptoms:
>
> 1) asterisk -rvvvvvv hangs with this on screen:
> [root@web1 etc]# asterisk -rvvvvvv
> Asterisk 1.4.10, Copyright (C) 1999 - 2007 Digium, Inc. and others.
> Created by Mark Spencer <markster@digium.com>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
> This is free software, with components licensed under the GNU General Public
> License version 2 and other licenses; you are welcome to redistribute it under
> certain conditions. Type 'core show license' for details.
> =========================================================================
> == Parsing '/etc/asterisk/asterisk.conf': Found
> == Parsing '/etc/asterisk/extconfig.conf': Found
>
> ( I think this is because it can't connect to the running asterisk )
>
> 2) Incoming calls just ring and ring (same reason)
>
> 3) The last thing in the /var/log/asterisk/full log is some messages that come right before the first res_speech_lumenvox.so messages on my working Fedora Core 4 asterisk/lumenvox setups (about loading res_crypto.so) (However, there is no error message at all from an lumenvox code)
>
> 4) lsof shows the res_speech_lumenvox.so file open by the asterisk process
>
> If I remove /usr/lib/asterisk/modules/res_speech_lumenvox.so then asterisk starts up, but of course SpeechCreate doesn't work.
>
> I do have res_speech.so marked as "preload" in /etc/asterisk/modules.conf, and I can see where it was loaded in the full log.
>
> If I do "ldd" on res_speech_lumenvox.so, I do not show any missing libraries.
>
> Has anyone else had this problem ?
>
> --Rob
>
> ========
> Rob Ristroph
> Airlink Systems, Inc
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-speech-rec mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-speech-rec


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
jjq90 at hotmail.com
Guest





PostPosted: Wed Aug 22, 2007 8:42 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

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.4 (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.4 (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-
jjq








Quote:
Date: Wed, 22 Aug 2007 17:03:23 -0300
From: jcolp@digium.com
To: asterisk-speech-rec@lists.digium.com
Subject: Re: [asterisk-speech-rec] Hang while loading res_speech_lumenvox.so

This is a known issue being worked on. Stay tuned.

sysadmin@airlinksystems.com wrote:
> Hi,
>
> I have asterisk 1.4.10 (compiled from the tar.gz release) on Fedora Core 7 ( 32 bit of course ). I downloaded asterisk-1.4.x-lumenvox-support-linux-i686-32bit-b16-engine7.5.tar.gz from the LumenVox "Download Software" section, and I copied the res_speech_lumenvox.so to /usr/lib/asterisk/modules.
>
> When I start up asterisk, asterisk seems to hang up or freeze when it gets to the point where it would read in res_speech_lumenvox.so. Here are the symptoms:
>
> 1) asterisk -rvvvvvv hangs with this on screen:
> [root@web1 etc]# asterisk -rvvvvvv
> Asterisk 1.4.10, Copyright (C) 1999 - 2007 Digium, Inc. and others.
> Created by Mark Spencer <markster@digium.com>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
> This is free software, with components licensed under the GNU General Public
> License version 2 and other licenses; you are welcome to redistribute it under
> certain conditions. Type 'core show license' for details.
> =========================================================================
> == Parsing '/etc/asterisk/asterisk.conf': Found
> == Parsing '/etc/asterisk/extconfig.conf': Found
>
> ( I think this is because it can't connect to the running asterisk )
>
> 2) Incoming calls just ring and ring (same reason)
>
> 3) The last thing in the /var/log/asterisk/full log is some messages that come right before the first res_speech_lumenvox.so messages on my working Fedora Core 4 asterisk/lumenvox setups (about loading res_crypto.so) (However, there is no error message at all from an lumenvox code)
>
> 4) lsof shows the res_speech_lumenvox.so file open by the asterisk process
>
> If I remove /usr/lib/asterisk/modules/res_speech_lumenvox.so then asterisk starts up, but of course SpeechCreate doesn't work.
>
> I do have res_speech.so marked as "preload" in /etc/asterisk/modules.conf, and I can see where it was loaded in the full log.
>
> If I do "ldd" on res_speech_lumenvox.so, I do not show any missing libraries.
>
> Has anyone else had this problem ?
>
> --Rob
>
> ========
> Rob Ristroph
> Airlink Systems, Inc
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-speech-rec mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-speech-rec


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Recharge--play some free games. Win cool prizes too! Play It!
Back to top
jjq90 at hotmail.com
Guest





PostPosted: Wed Aug 22, 2007 8:48 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

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-
jjq





Quote:
From: sysadmin@airlinksystems.com
To: asterisk-speech-rec@lists.digium.com
CC:
Date: Wed, 22 Aug 2007 14:45:55 -0500
Subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox.so

Hi,

I have asterisk 1.4.10 (compiled from the tar.gz release) on Fedora Core 7 ( 32 bit of course ). I downloaded asterisk-1.4.x-lumenvox-support-linux-i686-32bit-b16-engine7.5.tar.gz from the LumenVox "Download Software" section, and I copied the res_speech_lumenvox.so to /usr/lib/asterisk/modules.

When I start up asterisk, asterisk seems to hang up or freeze when it gets to the point where it would read in res_speech_lumenvox.so. Here are the symptoms:

1) asterisk -rvvvvvv hangs with this on screen:
[root@web1 etc]# asterisk -rvvvvvv
Asterisk 1.4.10, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found

( I think this is because it can't connect to the running asterisk )

2) Incoming calls just ring and ring (same reason)

3) The last thing in the /var/log/asterisk/full log is some messages that come right before the first res_speech_lumenvox.so messages on my working Fedora Core 4 asterisk/lumenvox setups (about loading res_crypto.so) (However, there is no error message at all from an lumenvox code)

4) lsof shows the res_speech_lumenvox.so file open by the asterisk process

If I remove /usr/lib/asterisk/modules/res_speech_lumenvox.so then asterisk starts up, but of course SpeechCreate doesn't work.

I do have res_speech.so marked as "preload" in /etc/asterisk/modules.conf, and I can see where it was loaded in the full log.

If I do "ldd" on res_speech_lumenvox.so, I do not show any missing libraries.

Has anyone else had this problem ?

--Rob

========
Rob Ristroph
Airlink Systems, Inc


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
New home for Mom, no cleanup required. All starts here.
Back to top
jjq90 at hotmail.com
Guest





PostPosted: Wed Aug 22, 2007 9:05 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

Hey Howdie-

The following is 100% stable on an old PIII/800 If installed in the following order and the README.xxxx are followed closely. You will notice that all software and Libs are current stable (except liboss):

1) FC7-Live install:
2.6.22.1-41.fc7.i686

2) Dont forget to update the Kernel and KernelSources:
kernel-2.6.22.1-41.fc7.i686
kernel-devel-2.6.22.1-41.fc7.i686

Dont forget kernel symlinks AND rerun make menuconfig with UPGRADED kernel config from /boot!!!!!

3) Update (include downgrade and symlinks) openssl:
openssl097a.i386

4) Asterisk Install (Do not install zaptel before Asterisk!)
asterisk v1.4.10

5) Asterisk Perl Hooks:
asterisk-perl v0.10

6) Zaptel drivers
zaptel v1.4.4

I reboot here just for kicks.

7) Install LumenVox ASR
LumenVoxLicenseServer-7.5-606.fc7.i386.rpm
LumenVoxSRE-7.5-606.fc7.i386.rpm
asterisk-1.4.x-lumenvox-support-linux-i686-32bit-b16-engine7.5.tar.gz

I reboot here just for kicks.

8) Pizza Demo
I dont think this has any revs--?--
There is a slight problem with this demo which has not been discussed on the lists-- concerning the "topping-selection" AGI to XML to asterisk LIST channel variable-- But It will not affect you, or custom-made dialplans which include the speech tools.

Good Luck.

Cheers-
jjq



Quote:
From: sysadmin@airlinksystems.com
To: asterisk-speech-rec@lists.digium.com
CC:
Date: Wed, 22 Aug 2007 15:31:00 -0500
Subject: Re: [asterisk-speech-rec] Hang while loading res_speech_lumenvox.so


That's great ! ( Well, it's great that you guys know it and it's already being worked on :) I'm glad to know I wasn't the only person to notice this. )

I also experimented with running asterisk -cvvvvvv to see if I could any more error messages out of it, no luck.

Just a general question here -- what would be the most stable and reliable of the supported linux versions to use ? For example, if I were on Fedora Core 6 instead of 7, would I still be having this problem ? What about the CentOS / RHEL versions ? Is there a particular distribution better supported than the others ?

If there is another version of linux I could use to avoid this particular problem, that would be great, because I would really like to try out the new background noise parameters that were recently added.

--Rob


>This is a known issue being worked on. Stay tuned.
>
> sysadmin@airlinksystems.com wrote:
> > Hi,
> >
> > I have asterisk 1.4.10 (compiled from the tar.gz release) on Fedora Core 7 ( 32 bit of course ). I downloaded asterisk-1.4.x-lumenvox-support-linux-i686-32bit-b16-engine7.5.tar.gz from the LumenVox "Download Software" section, and I copied the res_speech_lumenvox.so to /usr/lib/asterisk/modules.
> >
> > When I start up asterisk, asterisk seems to hang up or freeze when it gets to the point where it would read in res_speech_lumenvox.so. Here are the symptoms:
> >
> > 1) asterisk -rvvvvvv hangs with this on screen:
> > [root@web1 etc]# asterisk -rvvvvvv
> > Asterisk 1.4.10, Copyright (C) 1999 - 2007 Digium, Inc. and others.
> > Created by Mark Spencer <markster@digium.com>
> > Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
> > This is free software, with components licensed under the GNU General Public
> > License version 2 and other licenses; you are welcome to redistribute it under
> > certain conditions. Type 'core show license' for details.
> > =========================================================================
> > == Parsing '/etc/asterisk/asterisk.conf': Found
> > == Parsing '/etc/asterisk/extconfig.conf': Found
> >
> > ( I think this is because it can't connect to the running asterisk )
> >
> > 2) Incoming calls just ring and ring (same reason)
> >
> > 3) The last thing in the /var/log/asterisk/full log is some messages that come right before the first res_speech_lumenvox.so messages on my working Fedora Core 4 asterisk/lumenvox setups (about loading res_crypto.so) (However, there is no error message at all from an lumenvox code)
> >
> > 4) lsof shows the res_speech_lumenvox.so file open by the asterisk process
> >
> > If I remove /usr/lib/asterisk/modules/res_speech_lumenvox.so then asterisk starts up, but of course SpeechCreate doesn't work.
> >
> > I do have res_speech.so marked as "preload" in /etc/asterisk/modules.conf, and I can see where it was loaded in the full log.
> >
> > If I do "ldd" on res_speech_lumenvox.so, I do not show any missing libraries.
> >
> > Has anyone else had this problem ?
> >
> > --Rob
> >
> > ========
> > Rob Ristroph
> > Airlink Systems, Inc
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-speech-rec mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-speech-rec mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-speech-rec

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Messenger Café — open for fun 24/7. Hot games, cool activities served daily. Visit now.
Back to top
sysadmin at airlinksystem
Guest





PostPosted: Wed Aug 22, 2007 9:26 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

 
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@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@web1 ~]#
 
 
[quote]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->jjq
Back to top
jjq90 at hotmail.com
Guest





PostPosted: Wed Aug 22, 2007 10:16 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

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.gz
It 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)

###################################################






Quote:
From: sysadmin@airlinksystems.com
To: asterisk-speech-rec@lists.digium.com
CC:
Date: Wed, 22 Aug 2007 16:22:19 -0500
Subject: 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@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@web1 ~]#
 
 
Quote:
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-
jjq
New home for Mom, no cleanup required. All starts here.
Back to top
sysadmin at airlinksystem
Guest





PostPosted: Wed Aug 22, 2007 11:12 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

 
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@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@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)###################################################
Quote:
From: sysadmin@airlinksystems.comTo: asterisk-speech-rec@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@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@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->jjq
New home for Mom, no cleanup required. All starts here.
Back to top
jjq90 at hotmail.com
Guest





PostPosted: Wed Aug 22, 2007 11:39 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

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







Quote:
From: sysadmin@airlinksystems.com
To: asterisk-speech-rec@lists.digium.com
CC:
Date: Wed, 22 Aug 2007 18:07:41 -0500
Subject: 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@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@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.gz
It 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)

###################################################






Quote:
From: sysadmin@airlinksystems.com
To: asterisk-speech-rec@lists.digium.com
CC:
Date: Wed, 22 Aug 2007 16:22:19 -0500
Subject: 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@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@web1 ~]#
 
 
Quote:
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-
jjq

New home for Mom, no cleanup required. All starts here.
See what you’re getting into…before you go there See it!
Back to top
StephenKeller at LumenVox
Guest





PostPosted: Fri Aug 24, 2007 12:10 am    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

We're working on a fix for the hang while loading res_speech_lumenvox.so
on Fedora Core.

In the interim, if Jeff's suggestion about reverting to other versions
of openssl doesn't work for you, you can work around the problem by
adding a delay to Asterisk's module loader. Modify main/loader.c and
add:

sleep(2);

Right before the following code:


/* if the system supports RTLD_NOLOAD, we can just 'promote' the flags
on the already-opened library to what we want... if not, we
have to
close it and start over
*/
#if defined(HAVE_RTLD_NOLOAD) && !defined(__Darwin__)
if (!dlopen(fn, RTLD_NOLOAD | (wants_global ? RTLD_LAZY |
RTLD_GLOBAL : RTLD_NOW | RTLD_LOCAL))) {
ast_log(LOG_WARNING, "Unable to promote flags on module
'%s': %s\n", resource_in, dlerror());
while (!dlclose(lib));
free(resource_being_loaded);
return NULL;
}


This will cause Asterisk to wait between loading modules. This makes
Asterisk take longer to start, and is intended only as a temporary fix.
I'll be sure to let the list know when it the issue is worked out.

Thanks,

Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
Support@LumenVox.com
www.LumenVox.com <http://www.lumenvox.com/>

<http://www.lumenvox.com/>

Winner "Best Innovation in Speech Recognition"
AVIOS SpeechTEK Award



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
scott at evtmedia.com
Guest





PostPosted: Fri Aug 24, 2007 9:58 am    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

I was having this problem with Fedora Core 6 and asterisk 1.4.10.1.
Adding this "sleep" seems to fix the module load problem for me.
(although it really slows down the asterisk startup!) Looking forward
to the fix .

thanks,
Scott Stingel

www.evtmedia.com


Stephen Keller wrote:
Quote:
We're working on a fix for the hang while loading res_speech_lumenvox.so
on Fedora Core.

In the interim, if Jeff's suggestion about reverting to other versions
of openssl doesn't work for you, you can work around the problem by
adding a delay to Asterisk's module loader. Modify main/loader.c and
add:

sleep(2);

Right before the following code:


/* if the system supports RTLD_NOLOAD, we can just 'promote' the flags
on the already-opened library to what we want... if not, we
have to
close it and start over
*/
#if defined(HAVE_RTLD_NOLOAD) && !defined(__Darwin__)
if (!dlopen(fn, RTLD_NOLOAD | (wants_global ? RTLD_LAZY |
RTLD_GLOBAL : RTLD_NOW | RTLD_LOCAL))) {
ast_log(LOG_WARNING, "Unable to promote flags on module
'%s': %s\n", resource_in, dlerror());
while (!dlclose(lib));
free(resource_being_loaded);
return NULL;
}


This will cause Asterisk to wait between loading modules. This makes
Asterisk take longer to start, and is intended only as a temporary fix.
I'll be sure to let the list know when it the issue is worked out.

Thanks,

Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
Support@LumenVox.com
www.LumenVox.com <http://www.lumenvox.com/>

<http://www.lumenvox.com/>

Winner "Best Innovation in Speech Recognition"
AVIOS SpeechTEK Award



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec




_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
sysadmin at airlinksystem
Guest





PostPosted: Fri Aug 24, 2007 4:57 pm    Post subject: [asterisk-speech-rec] Hang while loading res_speech_lumenvox

Stephen,

Based on your advice, I added in the sleep(2). it worked ! I tested a dial plan with speech recognition in it and it behaved normally.

It does take a long time to restart asterisk. I did some experimentation, to see if the sleep(2) had to be before every module that was loaded, or only res_speech_lumenvox.so. It worked if I do it for only res_speech_lumenvox ! This loads fast, increasing the asterisk restart time by only 2 seconds. Here is what my code looks like in main/loader.c:

==================
/* added to try to get res_speech_lumenvox.so to load, on the directions of
Stephen Keller on the asterisk-speech-res mailing list. Remove this when
the problem is fixed. RGR 24 Aug 2007 */
if ( !strcmp(resource, "res_speech_lumenvox.so") )
{
ast_log(LOG_NOTICE, "sleeping 2 seconds before loading module %s.\n", resource);
sleep(2);
}

/* if the system supports RTLD_NOLOAD, we can just 'promote' the flags
on the already-opened library to what we want... if not, we have to
close it and start over
*/
#if defined(HAVE_RTLD_NOLOAD) && !defined(__Darwin__)
if (!dlopen(fn, RTLD_NOLOAD | (wants_global ? RTLD_LAZY | RTLD_GLOBAL : RTLD_NOW | RTLD_LOCAL))) {
ast_log(LOG_WARNING, "Unable to promote flags on module '%s': %s\n", resource_in, dlerror());
while (!dlclose(lib));
free(resource_being_loaded);
return NULL;
}
#else
==================

This may help out someone else until the fix comes out.

I'd like to say that I am really greatful for the help and pointers I get on this list -- unfortunately, many software providers would not have bothered to do something like provide the sleep() workaround before the actual fix came out. I know that bugs involving linking and loading can be very hard to track down and test, so your taking the time to offer a workaround while figuring that out is definitely appreciated !

--Rob1


Quote:
We're working on a fix for the hang while loading res_speech_lumenvox.so
on Fedora Core.

In the interim, if Jeff's suggestion about reverting to other versions
of openssl doesn't work for you, you can work around the problem by
adding a delay to Asterisk's module loader. Modify main/loader.c and
add:

sleep(2);

Right before the following code:


/* if the system supports RTLD_NOLOAD, we can just 'promote' the flags
on the already-opened library to what we want... if not, we
have to
close it and start over
*/
#if defined(HAVE_RTLD_NOLOAD) && !defined(__Darwin__)
if (!dlopen(fn, RTLD_NOLOAD | (wants_global ? RTLD_LAZY |
RTLD_GLOBAL : RTLD_NOW | RTLD_LOCAL))) {
ast_log(LOG_WARNING, "Unable to promote flags on module
'%s': %s\n", resource_in, dlerror());
while (!dlclose(lib));
free(resource_being_loaded);
return NULL;
}


This will cause Asterisk to wait between loading modules. This makes
Asterisk take longer to start, and is intended only as a temporary fix.
I'll be sure to let the list know when it the issue is worked out.

Thanks,

Stephen Keller
LumenVox Support
P: 877-977-0707, just say "Support"
F: 858-707-7072
Support@LumenVox.com
www.LumenVox.com <http://www.lumenvox.com/>

<http://www.lumenvox.com/>

Winner "Best Innovation in Speech Recognition"
AVIOS SpeechTEK Award



_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-speech-rec mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-speech-rec
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™