[Home]

Summary:ASTERISK-15305: app_voicemail will module will not load
Reporter:Brendan Martens (shrift)Labels:
Date Opened:2009-12-11 16:38:02.000-0600Date Closed:2010-01-05 09:05:25.000-0600
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail/IMAP
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When I start asterisk it says:

[2009-12-11 17:35:11] WARNING[3879]: loader.c:386 load_dynamic_module: Error loading module 'app_voicemail.so': /usr/lib/asterisk/modules/app_voicemail.so: R_PPC_REL24 relocation at 0x0de96a28 for symbol `X509_STORE_CTX_get_error' out of range

I know I have this problem in -rc7 as well, I suspect most of 1.6.2 has been affected, I just actually didn't notice until now (haven't gone into production, so voicemail doesn't get used much).

During compile I get this warning:

  [CC] app_voicemail.c -> app_voicemail.o
In file included from /usr/src/imap-2007e/c-client/osdep.h:63,
                from /usr/src/imap-2007e/c-client/c-client.h:42,
                from app_voicemail.c:82:
/usr/src/imap-2007e/c-client/env_unix.h:71: warning: function declaration isn’t a prototype
  [LD] app_voicemail.o -> app_voicemail.so

Comments:By: Russell Bryant (russell) 2009-12-12 17:05:56.000-0600

This looks like a problem with c-client.  Is there a newer version you can try?

By: Brendan Martens (shrift) 2009-12-13 14:48:45.000-0600

I upgraded to c-client2007e, recompiled, and now I get this error when asterisk starts:

[2009-12-13 15:46:39] WARNING[28368]: loader.c:386 load_dynamic_module: Error loading module 'app_voicemail.so': /usr/lib/asterisk/modules/app_voicemail.so: R_PPC_REL24 relocation at 0x0df071ac for symbol `SSL_get_fd' out of range



By: Leif Madsen (lmadsen) 2009-12-14 10:25:59.000-0600

Are you building on a 64-bit machine? I have a feeling this is a documentation issue when building on 64-bit platforms.

Here is something I likely need to add to the documentation. Compile c-client with something like:

make lr5 EXTRACFLAGS=-fPIC IP6=4

it's the EXTRACFLAGS part that you need to build on 64-bit machines. Let me know how that goes as that will likely help. Otherwise, the errors you're getting look to be issues with OpenSSL or some other external library outside of Asterisk.

By: Leif Madsen (lmadsen) 2009-12-14 10:29:25.000-0600

Note that lr5 is specifically for RHEL5 (RedHat linux) -- you might want to use something more generic like 'lnp'.

By: Brendan Martens (shrift) 2009-12-14 10:48:23.000-0600

Welll hmmmm.... Ok I'll try a few different things with c-client then and report back.

I guess my confusion as far as this is concerned is that I have been using the same c-client base for quite a while with no problems (had to upgrade for 1.6.x, but no issues since,) so unless something changed in the 1.6.2 branch, it seems odd to me that this would cease working.



By: Digium Subversion (svnbot) 2009-12-14 11:05:02.000-0600

Repository: asterisk
Revision: 234615

U   branches/1.4/doc/imapstorage.txt

------------------------------------------------------------------------
r234615 | lmadsen | 2009-12-14 11:05:01 -0600 (Mon, 14 Dec 2009) | 8 lines

Update IMAP build documentation.
Update the IMAP build documentation to show how to build on 64-bit
platforms.


(issue ASTERISK-15305)
Reported by: shrift
Tested by: lmadsen
------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=234615

By: Digium Subversion (svnbot) 2009-12-14 11:19:59.000-0600

Repository: asterisk
Revision: 234631

_U  trunk/
U   trunk/doc/tex/imapstorage.tex

------------------------------------------------------------------------
r234631 | lmadsen | 2009-12-14 11:19:59 -0600 (Mon, 14 Dec 2009) | 8 lines

Update IMAP build documentation.
Update the IMAP build documentation to show how to build on 64-bit
platforms.


(issue ASTERISK-15305)
Reported by: shrift
Tested by: lmadsen
------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=234631

By: Digium Subversion (svnbot) 2009-12-14 11:20:44.000-0600

Repository: asterisk
Revision: 234636

U   branches/1.6.0/doc/tex/imapstorage.tex

------------------------------------------------------------------------
r234636 | lmadsen | 2009-12-14 11:20:43 -0600 (Mon, 14 Dec 2009) | 16 lines

Merged revisions 234631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r234631 | lmadsen | 2009-12-14 11:19:58 -0600 (Mon, 14 Dec 2009) | 8 lines
 
 Update IMAP build documentation.
 Update the IMAP build documentation to show how to build on 64-bit
 platforms.
 
 
 (issue ASTERISK-15305)
 Reported by: shrift
 Tested by: lmadsen
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=234636

By: Digium Subversion (svnbot) 2009-12-14 11:21:10.000-0600

Repository: asterisk
Revision: 234639

U   branches/1.6.1/doc/tex/imapstorage.tex

------------------------------------------------------------------------
r234639 | lmadsen | 2009-12-14 11:21:09 -0600 (Mon, 14 Dec 2009) | 16 lines

Merged revisions 234631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r234631 | lmadsen | 2009-12-14 11:19:58 -0600 (Mon, 14 Dec 2009) | 8 lines
 
 Update IMAP build documentation.
 Update the IMAP build documentation to show how to build on 64-bit
 platforms.
 
 
 (issue ASTERISK-15305)
 Reported by: shrift
 Tested by: lmadsen
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=234639

By: Digium Subversion (svnbot) 2009-12-14 11:21:33.000-0600

Repository: asterisk
Revision: 234643

U   branches/1.6.2/doc/tex/imapstorage.tex

------------------------------------------------------------------------
r234643 | lmadsen | 2009-12-14 11:21:33 -0600 (Mon, 14 Dec 2009) | 16 lines

Merged revisions 234631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r234631 | lmadsen | 2009-12-14 11:19:58 -0600 (Mon, 14 Dec 2009) | 8 lines
 
 Update IMAP build documentation.
 Update the IMAP build documentation to show how to build on 64-bit
 platforms.
 
 
 (issue ASTERISK-15305)
 Reported by: shrift
 Tested by: lmadsen
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=234643

By: Brendan Martens (shrift) 2009-12-14 14:13:30.000-0600

Ok, after following the new instructions to tell asterisk to use the system c-client this is working. And what I mean by that is configuring asterisk like this:

./configure --with-imap=system

Thank you!

By: Leif Madsen (lmadsen) 2009-12-14 15:16:21.000-0600

Thanks for the feedback! As you may have noticed I updated the documentation for 64-bit processors.