[asterisk-users] func_pjsip_aor.so: undefined symbol: ast_sip_location_retrieve_aor_contacts

sean darcy seandarcy2 at gmail.com
Sat Sep 5 08:22:21 CDT 2020


asterisk-16.13.0-rc2. Fedora 32

pjsip won't load because of undefined symbols:

[Sep  4 14:19:25] ERROR[141137]: loader.c:2396 load_modules: Error 
loading module 'func_pjsip_aor.so': 
/usr/lib64/asterisk/modules/func_pjsip_aor.so: undefined symbol: 
ast_sip_location_retrieve_aor_contacts
[Sep  4 14:19:25] ERROR[141137]: loader.c:2396 load_modules: Error 
loading module 'res_pjsip_dlg_options.so': 
/usr/lib64/asterisk/modules/res_pjsip_dlg_options.so: undefined symbol: 
ast_sip_add_header
[Sep  4 14:19:25] ERROR[141137]: loader.c:2396 load_modules: Error 
loading module 'res_pjsip_transport_websocket.so': 
/usr/lib64/asterisk/modules/res_pjsip_transport_websocket.so: undefined 
symbol: ast_sip_create_serializer
[Sep  4 14:19:25] ERROR[141137]: loader.c:2396 load_modules: Error 
loading module 'func_pjsip_contact.so': 
/usr/lib64/asterisk/modules/func_pjsip_contact.so: undefined symbol: 
ast_sip_get_contact_status_label
[Sep  4 14:19:25] ERROR[141137]: loader.c:2396 load_modules: Error 
loading module 'chan_pjsip.so': 
/usr/lib64/asterisk/modules/chan_pjsip.so: undefined symbol: 
ast_sip_cli_traverse_objects

and so on.

module show like res_pjproject
Module                         Description 
Use Count  Status      Support Level
res_pjproject.so               PJPROJECT Log and Utility Support 
1          Running              core
1 modules loaded

module load res_pjsip
Unable to load module res_pjsip
Command 'module load res_pjsip' failed.
ERROR[141535]: loader.c:281 module_load_error: Error loading module 
'res_pjsip': /usr/lib64/asterisk/modules/res_pjsip.so: undefined symbol: 
ast_statsd_log_full_va

module load chan_pjsip
Unable to load module chan_pjsip
Command 'module load chan_pjsip' failed.
ERROR[141780]: loader.c:281 module_load_error: Error loading module 
'chan_pjsip': /usr/lib64/asterisk/modules/chan_pjsip.so: undefined 
symbol: ast_sip_cli_traverse_objects

/usr/include/asterisk exists, with all the .h files, owned by root, 
permissions 644. For instance:

grep ast_sip_cli_traverse_objects /usr/include/asterisk/*
...
/usr/include/asterisk/res_pjsip_cli.h:char 
*ast_sip_cli_traverse_objects(struct ast_cli_entry *e, int cmd, struct 
ast_cli_args *a);


Do I need to preload some module?

Any help appreciated.




More information about the asterisk-users mailing list