Tuesday, February 06, 2024

Re: Astertisk missing library

On 2024-02-06, deichert@placebonol.com <deichert@placebonol.com> wrote:
> are the libraries in the search path?

they're not normal library deps for the main binary, all dlopen()'d from
the relevant path.

> On February 5, 2024 10:54:38 AM MST, Peter Fraser <pjf@thinkage.ca> wrote:
>>I should also add the libraries re on my system, and nm says they contain the simples
>>I don't know why they are not loading.

maybe you'll get some clues by running with LD_DEBUG set in the
environment - there will be a *lot* of output so run under script(1).

or, try comparing /etc/asterisk with one of your working machines and
see what's different.

>>From: owner-misc@openbsd.org <owner-misc@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 <pjf@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.
>>
>


--
Please keep replies on the mailing list.

No comments:

Post a Comment