I did track down the missing modules to the same list of libraries.

I did use a copy  /usr/local/share/examples/asterisk/default/modules.conf in 
/etc/asterisk/modules.conf
And got the same error.
I also tried deleting all the noload from modules.conf
Still the same error.


-----Original Message-----
From: owner-m...@openbsd.org <owner-m...@openbsd.org> On Behalf Of Stuart 
Henderson
Sent: Monday, February 5, 2024 7:15 AM
To: misc@openbsd.org
Subject: Re: Astertisk missing library

On 2024-02-04, Peter Fraser <p...@thinkage.ca> wrote:
> Asterisk 20.5.2 works for me two different amd64 computers that I upgraded 
> from 7.3  amd64  to 7.4.
...
> [Feb  4 10:33:11] NOTICE[107524]: loader.c:2405 load_modules: 280 modules 
> will be loaded.
> asterisk:/usr/local/lib/asterisk/modules/app_audiosocket.so: undefined symbol 
> 'ast_audiosocket_connect'
> asterisk:/usr/local/lib/asterisk/modules/app_audiosocket.so: undefined symbol 
> 'ast_audiosocket_init'
> asterisk:/usr/local/lib/asterisk/modules/app_audiosocket.so: undefined symbol 
> 'ast_audiosocket_send_frame'
> asterisk:/usr/local/lib/asterisk/modules/app_audiosocket.so: undefined symbol 
> 'ast_audiosocket_receive_frame'

those are in res_audiosocket.so

> asterisk:/usr/local/lib/asterisk/modules/app_speech_utils.so: undefined 
> symbol 'ast_speech_new'
> asterisk:/usr/local/lib/asterisk/modules/app_speech_utils.so: undefined 
> symbol 'ast_speech_destroy'
> asterisk:/usr/local/lib/asterisk/modules/app_speech_utils.so: undefined 
> symbol 'ast_speech_grammar_load'
> asterisk:/usr/local/lib/asterisk/modules/app_speech_utils.so: undefined 
> symbol 'ast_speech_grammar_unload'
> asterisk:/usr/local/lib/asterisk/modules/app_speech_utils.so: undefined 
> symbol 'ast_speech_grammar_activate'

and those in res_speech.so

> asterisk:/usr/local/lib/asterisk/modules/app_stasis.so: undefined symbol 
> 'stasis_app_exec'

res_statis

> asterisk:/usr/local/lib/asterisk/modules/chan_pjsip.so: undefined symbol 
> 'ast_sip_cli_traverse_objects'
> asterisk:/usr/local/lib/asterisk/modules/chan_pjsip.so: undefined symbol 
> 'ast_sip_cli_traverse_objects'
> asterisk:/usr/local/lib/asterisk/modules/chan_pjsip.so: undefined symbol 
> 'ast_sip_cli_traverse_objects'
> asterisk:/usr/local/lib/asterisk/modules/chan_pjsip.so: undefined symbol 
> 'ast_sip_cli_traverse_objects'
> asterisk:/usr/local/lib/asterisk/modules/chan_pjsip.so: undefined symbol 
> 'ast_sip_push_task_wait_servant'

res_pjsip

etc. I think you may be missing something in modules.conf. I'd probably start 
with a copy of /usr/local/share/examples/asterisk/default/modules.conf
and see if that works, then tweak from there.

--
Please keep replies on the mailing list.

Reply via email to