<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=375171418-13122005><FONT face=Arial size=2>Hello 
list!</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial size=2>I had a problem 
while trying to build asterisk-addons, but noticed some paths specified in the 
Makefile didn't fit my system.</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial size=2>So I modified 
Makefile for it to look for MySQL includes and libs on the following 
locations:</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial 
size=2>/usr/local/mysql/include/mysql</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial 
size=2>/usr/local/mysql/lib/mysql</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial size=2>Now when trying 
"make" it works fine, and "make install" too. ;)</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial size=2>But when I add 
cdr_addon_mysql.so on modules.conf for Asterisk to load it, Asterisk refuses tu 
come up saying:</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial size=2>Dec 13 12:19:29 
WARNING[4112]: loader.c:325 __load_resource: libmysqlclient.so.15: cannot open 
shared object file: No such file or directory<BR>Dec 13 12:19:29 WARNING[4112]: 
loader.c:499 load_modules: Loading module cdr_addon_mysql.so 
failed!<BR></FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial size=2>Is there any other 
place in which I should specify the diffetent locations for my 
system?</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial size=2>How can I fix 
this?</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial size=2>Thanks for your 
help.</FONT></SPAN></DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=375171418-13122005><FONT face=Arial 
size=2>Cheers!</DIV></FONT></SPAN></BODY></HTML>