From: matian85@hotmail.com
To: sr-users@lists.sip-router.org
Subject: problem with db access
Date: Fri, 25 Jan 2013 03:16:18 +0000

Hi everyone,

Recently I work on kamailio's snmpstats module. I'm trying to retrieve some data from database, the code pass the compilation but when starting kamailio always get this error.

Jan 25 10:57:05 localhost kamailio: ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </usr/local/lib/kamailio/modules_k/snmpstats.so>: /usr/local/lib/kamailio/modules_k/snmpstats.so: undefined symbol: db_bind_mod 

 I take the code from 
http://www.asipto.com/pub/kamailio-devel-guide/#c09database and ursloc module for example. not sure 
if I still miss something to make db access work. 

Any suggestion?  

Thanks,


Sebastian