Sean Darcy
2013-Sep-17 21:24 UTC
[asterisk-users] 11.5.1 : fedora 19 rpms : lots of undefined symbols
So starting up asterisk-11.5.1-2.fc19.x86_64.rpm I get: [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'chan_mgcp.so': /usr/lib64/asterisk/modules/chan_mgcp.so: undefined symbol: ast_pktccops_gate_alloc [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'chan_iax2.so': /usr/lib64/asterisk/modules/chan_iax2.so: undefined symbol: ast_aes_set_encrypt_key [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'chan_sip.so': /usr/lib64/asterisk/modules/chan_sip.so: undefined symbol: ast_websocket_write [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'app_voicemail_plain.so': /usr/lib64/asterisk/modules/app_voicemail_plain.so: undefined symbol: ast_smdi_mwi_set [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'app_stack.so': /usr/lib64/asterisk/modules/app_stack.so: undefined symbol: ast_agi_unregister [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'app_speech_utils.so': /usr/lib64/asterisk/modules/app_speech_utils.so: undefined symbol: ast_speech_dtmf [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'chan_motif.so': /usr/lib64/asterisk/modules/chan_motif.so: undefined symbol: ast_xmpp_client_send_message [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'func_aes.so': /usr/lib64/asterisk/modules/func_aes.so: undefined symbol: ast_aes_set_encrypt_key [Sep 17 21:09:07] WARNING[8606]: loader.c:423 load_dynamic_module: Error loading module 'res_agi.so': /usr/lib64/asterisk/modules/res_agi.so: undefined symbol: ast_speech_change and some stuff doesn't work. For instance GoSub: core show application gosub Your application(s) is (are) not registered So I rebuilt it on the koji fedora build system. The build logs show no errors. For instance: gcc -o app_stack.o -c app_stack.c -MD -MT app_stack.o -MF .app_stack.o.d -MP -pthread -I/builddir/build/BUILD/asterisk-11.5.1/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE -I/usr/include/libxml2 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fPIC -DAST_MODULE=\"app_stack\" /builddir/build/BUILD/asterisk-11.5.1/build_tools/make_linker_version_script app_stack "" "/builddir/build/BUILD/asterisk-11.5.1" gcc -o app_stack.so -pthread -m64 -Wl,--as-needed,--library-path=/usr/lib64 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,--version-script,app_stack.exports,--warn-common app_stack.o Anybody else seen this? It seems a Fedora issue, but I'd be curious if anyone has a work around. sean
Apparently Analagous Threads
- Asterisk 1.4.4 reproducibly dumps core on Solaris 10
- pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
- Asterisk 1.4.9 reproducibly dumps core on Solaris 10
- app_voicemail.so: undefinied symbol: global_app_buf
- undefined symbol: cap_set_proc on several modules after installation from source