res_config_mysql.so not found

I just installed Asterisk and Addons for mysql realtime. When I tried to start Asterisk I got following error:

[res_config_mysql.so]Mar 15 09:32:24 WARNING[10597]: loader.c:325 __load_resour
ce: /usr/lib/asterisk/modules/res_config_mysql.so: cannot open shared object fil
e: No such file or directory
Mar 15 09:32:24 WARNING[10597]: loader.c:499 load_modules: Loading module res_co
nfig_mysql.so failed!

I tried to find res_config_mysql.so in box, but found it nowhere. Please help how can install Asterisk realtime for Mysql and fix this problem.

have you installed the mysql packages needed ?

Thanks for the reply. I have installed lampp that comes with apache, php, mysql 5.0.15 and phpmyadmin. Does res_config_mysql.so come from mysql or Asterisk Addons? I think it should come with asterisk addons.

you’ll prolly need the mysql-devel packages too. when it comes to Asterisk, always install -devel too :smiley: