<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>I did it!!!!!!!!</FONT></DIV>
<DIV><FONT face=Arial size=2>I compiled the MySQL source. The problem was of 
directories.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>BUT, ( always there are a BUT )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When run the SER I get the next error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ser: ERROR: 
load_module: could not open module &lt;/usr/local/lib/ser/modules/mysql.so&gt;: 
Shared</FONT></DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;object 
"libmysqlclient.so.14" not found, required by "mysql.so"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>when I execute "locate libmysqlclient.so.14" I 
get:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
/usr/local/mysql/lib/mysql/libmysqlclient.so.14</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have&nbsp;read whom there is to make a LINK to 
libmysqlclient.so.14, but not where nor like doing it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=greger@teigre.com href="mailto:greger@teigre.com">Greger V. 
  Teigre</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=alberto.ipt@telefonica.net 
  href="mailto:alberto.ipt@telefonica.net">Alberto</A> ; <A 
  title=serusers@lists.iptel.org 
  href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=dsirera@teching.net 
  href="mailto:dsirera@teching.net">Daniel Sirera</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, September 06, 2005 1:14 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] Compiling SER 
  0.9.3</DIV>
  <DIV><BR></DIV>
  <DIV><FONT size=2>mysql/mysql.h: No such file or directory</FONT><BR>The 
  mysql-devel package is probably not installed.</DIV>
  <DIV>g-)</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>---- Original Message ----<BR>From: Alberto<BR>To: <A 
  href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A><BR>Cc: Daniel 
  Sirera<BR>Sent: Tuesday, September 06, 2005 12:16 PM<BR>Subject: [Serusers] 
  Compiling SER 0.9.3<BR><BR>&gt; Hi,<BR>&gt; <BR>&gt; This is my first message. 
  I have a server with FreeBSD 5.3 and MySQL<BR>&gt; 4.1.13 <BR>&gt; and I would 
  like to install SER-0.9.3 (with sql support).<BR>&gt; <BR>&gt; I'd downloaded 
  the package " ser-0.9.3.GettingStarted.1.2.tar " from<BR>&gt; <A 
  href="http://www.onSIP.org">www.onSIP.org</A>. <BR>&gt; <BR>&gt; Before 
  compiling, I'd edited the next files:<BR>&gt; <BR>&gt; Makefile file (&nbsp; 
  /usr/src/ser-0.9.3 )<BR>&gt; ========================<BR>&gt; 
  <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  exclude_modules?=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  cpl ext extcmd 
  \<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  postgres<BR>&gt; snmp \ 
  <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  <BR>&gt; auth_radius group_radius uri_radius avp_radius \ 
  <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  pa<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I'VE REMOVE THE REFERENCE TO 
  mysql<BR>&gt; <BR>&gt; <BR>&gt; Makefile file ( /usr/src/ser-0.9.3 )<BR>&gt; 
  ========================<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; # mysql.h 
  locations (freebsd,openbsd&nbsp; solaris)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; DEFS 
  +=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/mysql 
  \<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -I$(LOCALBASE)/mysql/include 
  \<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -I/usr/local/mysql/include \&nbsp;&nbsp;&nbsp; #<BR>&gt; 
  &lt;----------------------------------------- ADDED BY ME 
  <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -I/usr/include/mysql<BR>&gt; <BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; # 
  libmysqlclient locations on RH/Suse, Solaris /OpenBSD, 
  FreeBSD<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; # (Debian does the right thing and 
  puts it in /usr/lib)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; LIBS=-L/usr/lib/mysql 
  -L$(LOCALBASE)/lib -L$(LOCALBASE)/lib/mysql<BR>&gt; \ 
  <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -L$(LOCALBASE)/mysql/lib/mysql/ 
  \<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -L$(LOCALBASE)/mysql/lib 
  \<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -L/usr/local/mysql/lib \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<BR>&gt; 
  &lt;----------------------------------------- ADDED BY ME 
  <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -L/usr/lib64/mysql 
  \<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -lmysqlclient -lz<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; I execute the next 
  command for compile: " gmake all " and I get the<BR>&gt; next errors: <BR>&gt; 
  <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &lt;--------- cut 
  ----------&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ................................<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  gmake[1]: Entering directory<BR>&gt; `/usr/src/ser-0.9.3/modules/mysql' 
  <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: db_con.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: db_mod.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: dbase.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: my_con.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: my_id.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: my_pool.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: res.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: row.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: utils.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ../../Makefile.rules:80: val.d: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In file 
  included from 
  val.c:35:<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; val.h:31:25: 
  mysql/mysql.h: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; row.c:33:25: 
  mysql/mysql.h: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; res.c:31:25: 
  mysql/mysql.h: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In file 
  included from 
  my_pool.h:32,<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  from my_pool.c:31:<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  my_con.h:33:25: mysql/mysql.h: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In file 
  included from 
  my_con.c:31:<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  my_con.h:33:25: mysql/mysql.h: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  dbase.c:34:25: mysql/mysql.h: No such file or 
  directory<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ......................<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &lt;--------- cut ----------&gt;<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Some idea? 
  I not that but to prove. ( HELP!!! )<BR>&gt; <BR>&gt; Thanks for your time and 
  apologies by my english.</DIV></BLOCKQUOTE></BODY></HTML>