Summary: | ASTERISK-19289: chan_iax2.so: undefined symbol: ast_aes_set_encrypt_key | ||
Reporter: | Paul Belanger (pabelanger) | Labels: | |
Date Opened: | 2012-02-01 14:22:36.000-0600 | Date Closed: | 2017-12-12 18:55:00.000-0600 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_iax2 |
Versions: | SVN | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Compiling asterisk branches/1.8 under Ubuntu 12.04 (precise) you get the following errors: res_ael_share.so => (share-able code for AEL) [Feb 1 15:18:07] WARNING[27372]: loader.c:396 load_dynamic_module: Error loading module 'res_crypto': /home/pabelanger/x/1.8/live/usr/lib/asterisk/modules/res_crypto.so: cannot open shared object file: No such file or directory [Feb 1 15:18:07] WARNING[27372]: loader.c:458 load_dynamic_module: Error loading module 'chan_iax2.so': /home/pabelanger/x/1.8/live/usr/lib/asterisk/modules/chan_iax2.so: undefined symbol: ast_aes_set_encrypt_key [Feb 1 15:18:07] WARNING[27372]: loader.c:848 load_resource: Module 'chan_iax2.so' could not be loaded. [Feb 1 15:18:07] WARNING[27372]: loader.c:396 load_dynamic_module: Error loading module 'res_crypto': /home/pabelanger/x/1.8/live/usr/lib/asterisk/modules/res_crypto.so: cannot open shared object file: No such file or directory [Feb 1 15:18:07] WARNING[27372]: loader.c:458 load_dynamic_module: Error loading module 'func_aes.so': /home/pabelanger/x/1.8/live/usr/lib/asterisk/modules/func_aes.so: undefined symbol: ast_aes_set_encrypt_key [Feb 1 15:18:07] WARNING[27372]: loader.c:848 load_resource: Module 'func_aes.so' could not be loaded. [Feb 1 15:18:07] NOTICE[27372]: config.c:2199 ast_config_engine_register: Registered Config Engine odbc res_config_odbc loaded. | ||
Comments: | By: Paul Belanger (pabelanger) 2012-02-01 14:23:11.647-0600 libssl-dev is not installed. gcc version 4.6.2 (Ubuntu/Linaro 4.6.2-12ubuntu1) By: Matt Jordan (mjordan) 2012-02-09 15:57:37.986-0600 Right, so res_crypto wasn't built. The issue here is that res_ael_share, in menuselect, does not have res_crypto or openssl as a dependency. Of course, its an extended support module, so if someone wants to patch menuselect and the other appropriate scripts with that dependency, but it is something that we would expect the community to patch. By: Paul Belanger (pabelanger) 2012-02-10 20:11:44.270-0600 Isn't this a results of the gcc weak ref? or what ever it is called? IIRC, explicitly setting openssl as a dependency was not the correct solution. By: Paul Belanger (pabelanger) 2012-02-13 17:30:27.827-0600 I should also note, this happens with chan_iax2, like the title says, so support would be core. By: Corey Farrell (coreyfarrell) 2017-12-12 18:55:00.463-0600 I believe this was fixed when optional api was redesigned at some point after 1.8. |