hello -
I’m trying to run res_config_mysql.so but appears to be some kind of link trouble. After I compile and install the addons package, I get this error below when I load asterisk.
Error:
[res_config_mysql.so]Jun 14 09:09:19 WARNING[14354]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/res_config_mysql.so: undefined symbol: __pure_virtual
Jun 14 09:09:19 WARNING[14354]: loader.c:499 load_modules: Loading module res_config_mysql.so failed!
Enviroments tried are:
Debian / Asterisk 1.2.9.1 / GCC 3.3.5 / MySQL 5.0.22
Suse10 / Asterisk 1.2.9.1 / GCC 4.0.2 / MySQL 5.0.20a
Do you have any suggestions as to what I might be doing wrong? Thanks!
I was dinking around in MySQL on the Suse box and somehow got it working… have no clue what I did. For the time being resolution is PFM. I’ll try to do the same on Debian… if I get it to work and know what I did, I’ll update this post. If anyone in the meantime has any idea, please let me know. Thanks!
[format_mp3.so] => (MP3 format [Any rate but 8000hz mono optimal])
== Registered file format mp3, extension(s) mp3
[app_saycountpl.so] => (Say polish counting words)
== Registered application ‘SayCountPL’
[cdr_addon_mysql.so] => (MySQL CDR Backend)
== Parsing ‘/etc/asterisk/cdr_mysql.conf’: Found
Jun 16 01:21:13 NOTICE[13540]: cdr_addon_mysql.c:376 my_load_module: MySQL database table not specified. Assuming “cdr”
[app_addon_sql_mysql.so] => (Simple Mysql Interface)
== Registered application ‘MYSQL’
== Manager registered action DBGet
== Manager registered action DBPut
== Parsing ‘/etc/asterisk/enum.conf’: Found
Asterisk Ready.
*CLI>
And
June 16, 2006, 7:31am
3
Hello
Me to I have the same error. Same system
Debian, Asterisk-1.2.9.1, Addons-1.2.3, mysql-5.0.22
Maybe is it the bug?
Thanks for some suggestions
Hello to all !
I had the same problem on Fedora 4
but I have found a simple solution!
Just install "MYSQL Linux x86 generic RPM (dynamically linked)"
and recompile asterisk addons.
That’s ALL!
Best regards.