Make sure you have these packages installed: 
<b id="internal-source-marker_0.3527116815093905" style="font-family:&#39;Times New Roman&#39;;font-size:medium;font-weight:normal"><span style="font-size:15px;font-family:Arial;color:rgb(34,51,34);font-style:italic;vertical-align:baseline;white-space:pre-wrap">mysql-client mysql-devel</span></b> <div>
<br></div><div>Regards,</div><div>Ali Pey<br><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 12:48 PM, Jerry Richards <span dir="ltr">&lt;<a href="mailto:jerry.richards@teotech.com" target="_blank">jerry.richards@teotech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am using CentOS 5.7 and it appears there is no package named libmysqlclient-dev.  I already have MySQL-devel installed, but I get a OpenSIPS 1.8 build error (below).  Is MySQL-devel not an equivalent package?<br>

<br>
Linking db_mysql.so<br>
/usr/bin/ld: cannot find -lmysqlclient<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [db_mysql.so] Error 1<br>
make[2]: Leaving directory `/home/TeoUser/work/<a href="http://opensips.org/1.8/modules/db_mysql" target="_blank">opensips.org/1.8/modules/db_mysql</a>&#39;<br>
make[1]: *** [modules] Error 2<br>
make[1]: Leaving directory `/home/TeoUser/work/<a href="http://opensips.org/1.8" target="_blank">opensips.org/1.8</a>&#39;<br>
<br>
Thanks,<br>
Jerry<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>