hi Daniel,

your trick worked....now I have mysql library files in the library folder...
Thanks.....I have added `mysql` and `db_mysql` in include_module variable in module.lst...


Regards,

Vineet Menon




On 8 May 2012 12:28, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

one option - edit modules.lst in the root folder with kamailio sources and add "db_mysql" to the "include_modules" variable.

Then recompile and reinstall.

Cheers,
Daniel


On 5/8/12 6:45 AM, Vineet Menon wrote:
Ya, you were right...mysql.so or db_mysql.so is not present in the lib folder...
Is der any remedy for this?

$ ls -R /usr/lib64/kamailio/
/usr/lib64/kamailio/:
kamctl           libkmi.so.1        libsrdb1.so      libsrdb2.so.1.0  modules_k
libkcore.so      libkmi.so.1.0      libsrdb1.so.1    libtrie.so       modules_s
libkcore.so.1    libser_cds.so      libsrdb1.so.1.0  libtrie.so.1
libkcore.so.1.0  libser_cds.so.0    libsrdb2.so      libtrie.so.1.0
libkmi.so        libser_cds.so.0.1  libsrdb2.so.1    modules

/usr/lib64/kamailio/kamctl:
dbtextdb        kamctl.dbtext  kamctl.ser_mi    kamdbctl.base
kamctl.base     kamctl.fifo    kamctl.sqlbase   kamdbctl.dbtext
kamctl.ctlbase  kamctl.ser     kamctl.unixsock

/usr/lib64/kamailio/kamctl/dbtextdb:
dbtextdb.py

/usr/lib64/kamailio/modules:
async.so     ctl.so           matrix.so      prefix_route.so  sms.so
auth.so      db_flatstore.so  mediaproxy.so  ratelimit.so     textopsx.so
avpops.so    debugger.so      mi_rpc.so      rtpproxy.so      tm.so
blst.so      dialplan.so      mqueue.so      sanity.so        topoh.so
cfg_db.so    enum.so          mtree.so       sdpops.so        xhttp.so
cfg_rpc.so   ipops.so         pdb.so         sipcapture.so
counters.so  lcr.so           pipelimit.so   sl.so

/usr/lib64/kamailio/modules_k:
acc.so           exec.so           permissions.so  sqlops.so
alias_db.so      group.so          pike.so         sst.so
auth_db.so       htable.so         p_usrloc.so     statistics.so
benchmark.so     imc.so            pv.so           textops.so
call_control.so  kex.so            qos.so          tmx.so
cfgutils.so      maxfwd.so         regex.so        uac_redirect.so
db_text.so       mi_datagram.so    registrar.so    uac.so
dialog.so        mi_fifo.so        rr.so           uri_db.so
dispatcher.so    msilo.so          rtimer.so       userblacklist.so
diversion.so     nathelper.so      seas.so         usrloc.so
dmq.so           nat_traversal.so  siptrace.so     xlog.so
domain.so        path.so           siputils.so
drouting.so      pdt.so            speeddial.so

/usr/lib64/kamailio/modules_s:
auth_db.so     domain.so  nathelper.so    registrar.so  uac.so
dialog.so      exec.so    pdt.so          rr.so         uri_db.so
dispatcher.so  maxfwd.so  permissions.so  speeddial.so  usrloc.so
diversion.so   msilo.so   pike.so         textops.so    xlog.so

Regards,

Vineet Menon




On 7 May 2012 20:51, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,


On 5/7/12 5:07 PM, Vineet Menon wrote:
yes, flavour is set to kamailio.... and isn't db_mysql module complied the way i just mentioned??

it should be, but typos/errors in command or bugs may prevent that. So it is better to check in the folder with the modules.

Cheers,
Daniel


Regards,

Vineet Menon




On 7 May 2012 18:09, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

is the flavour set to kamailio and db_mysql module installed?

Some guidelines are presented at:

http://www.kamailio.org/wiki/install/3.2.x/git

Cheers,
Daniel


On 5/7/12 11:16 AM, Vineet Menon wrote:
Hi,

I am compiling sources of kamailio 3.2.3 on ubuntu 12.04. I have used make command
`make group_include="standard mysql" all`
to make the sources. and then
`make install`.....
Now when i do kamdbctl it throws an error,

$ kamdbctl create
ERROR: could not load the script in /usr/local/lib64/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL
ERROR: database engine not loaded - tried 'MYSQL'

Any guess what is the problem???


Regards,

Vineet Menon




_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda