AsteriskCDR
Hello;
I was using the 1.8 version of Asterisk. However, due to a problem I had to update. Update reporting system is broken when you have made. Current version 11.10. I installed the modules in the system for problems that are missing. I getting error as follows.
^[[A[Sep 24 03:16:50] WARNING[3624] loader.c:* Module ‘app_mysql.so’ was not compiled with the same compile-time options as this version of Asterisk.*
[Sep 24 03:16:50] WARNING[3624] loader.c: Module ‘app_mysql.so’ will not be initialized as it may cause instability.
[Sep 24 03:16:50] WARNING[3624] loader.c: Module ‘app_mysql.so’ could not be loaded. Asterisk to 11.12.0 “app_mysql.so” found. But it gives the following error.
Then I found the necessary libraries for version 10.11. (app_mysql.so, res_config_mysql.so) Now the’m getting an error as follows.
*Error loading module ‘app_mysql.so’: libmysqlclient.so.16*: cannot open shared object file: No such file or directory
I want to do this without re-installing. Can you help ?
2 thoughts on - AsteriskCDR
It seems you did not enable the mysql modules when you compiled Asterisk 11 and thus the old modules from 1.8 are still in
/usr/lib/modules/asterisk. Go to the source code directory where you compiled and do a “make menuconfig” and make sure you enable cdr_mysql and app_mysql. Then do another make && make install so the modules are copied.
Thanks
—