[asterisk-bugs] [JIRA] (ASTERISK-24111) res_ari_mailboxes: Asterisk attempts to load module without res_stasis_mailbox, resulting in undefined symbol: stasis_app_mailbox_to_json

Paul Belanger (JIRA) noreply at issues.asterisk.org
Mon Aug 18 13:25:29 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221746#comment-221746 ] 

Paul Belanger commented on ASTERISK-24111:
------------------------------------------

Just hit this issue too.  Below is a discussion from #asterisk-dev

---
<pabelanger> Just start asterisk 13 for the first time
<pabelanger> I can see: [Aug 18 14:11:51] WARNING[20289]: loader.c:564 load_dynamic_module: Error loading module 'res_ari_mailboxes.so': /home/pabelanger/svn/digium/asterisk/testing/13/live/usr/lib/asterisk/modules/res_ari_mailboxes.so: undefined symbol: stasis_app_mailbox_to_json
<pabelanger> using latest HEAD of branches/13
<file> that functionality conflicts with app_voicemail.so and requires explicit module loading to load
<pabelanger> okay, I didn't do anything. Just make sames
<pabelanger> err
<pabelanger> samples
<file> correct.
<pabelanger> so, what is the fix?
<file> if you need the functionality provided by that then you have to noload app_voicemail.so and build res_mwi_external.so
<pabelanger> okay
<pabelanger> so         <conflict>app_voicemail</conflict> needs to be added to res_ari_mailboxes too
<file> it doesn't directly conflict, the lower level implementation conflicts but it could be argued it should be added
* pabelanger nods
<pabelanger> was more curious about why the error was happening
<pabelanger> will let you guys hammer out the real fix
<file> there is no open issue for it
<file> same issue applies to 12 as well
<file> well - warning
<file> ooh I lied
<file> ASTERISK-24111

> res_ari_mailboxes: Asterisk attempts to load module without res_stasis_mailbox, resulting in undefined symbol: stasis_app_mailbox_to_json
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24111
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24111
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 12.4.0
>         Environment: Ubuntu 14.04 LTS, 32bit and 64bit
>            Reporter: Alexander Traud
>            Severity: Minor
>
> {panel:title=Log messages}
> {{loader.c: Error loading module 'res_ari_mailboxes.so': /usr/lib/asterisk/modules/res_ari_mailboxes.so: undefined symbol: stasis_app_mailbox_to_json}}
> {{loader.c: Module 'res_ari_mailboxes.so' could not be loaded.}}
> {panel}
> These two warnings are in /var/log/asterisk/messages after each (re)start of Asterisk. In the Asterisk Forums, a Debian user had the [same issue|http://forums.asterisk.org/viewtopic.php?p=200146]. The library is there. According to {{ldd}} all dependencies are found. {{nm -D}} exposed the symbol.
> {panel:title=Steps I used to compile}
> {{sudo apt-get install build-essential libssl-dev libncurses-dev libnewt-dev libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-dev libjansson-dev}}
> {{wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12-current.tar.gz}}
> {{tar zxvf asterisk*}}
> {{cd asterisk*}}
> {{./configure}}
> {{make menuselect.makeopts}}
> {{sudo make install config samples}}
> {panel}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list