[OpenSIPS-Users] libmysqlclient-dev for CentOS?

Jerry Richards jerry.richards at teotech.com
Tue Jun 26 20:25:08 CEST 2012


Perhaps it just doesn't work with the newer mysql version.  Also, by the way, you do not have mysql-client installed?

Thanks,
Jerry

From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Ali Pey
Sent: Monday, June 25, 2012 1:39 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] libmysqlclient-dev for CentOS?

Yes, I have. I am using OpenSIPS 1.8 with mysql on Centos 5.7 and didn't have any problems. The packages below are what I have.

# yum list installed |grep mysql
mysql.i386                             5.0.95-1.el5_7.1                installed
mysql.x86_64                           5.0.95-1.el5_7.1                installed
mysql-devel.i386                       5.0.95-1.el5_7.1                installed
mysql-devel.x86_64                     5.0.95-1.el5_7.1                installed
mysql-server.x86_64                    5.0.95-1.el5_7.1                installed
php-mysql.x86_64                       5.1.6-34.el5_8                  installed
php-pear-MDB2-Driver-mysql.noarch      1.4.1-3.el5.centos              installed

I am also running mysql server here for testing.

Regards,
Ali Pey

On Mon, Jun 25, 2012 at 3:26 PM, Jerry Richards <jerry.richards at teotech.com<mailto:jerry.richards at teotech.com>> wrote:
Ali,

Yes, I have both MySQL-client and MySQL-devel installed, but I still get the same linker error.  Has anyone successfully built OpenSIPS 1.8 with CentOS 5.7?

Thanks,
Jerry


From: users-bounces at lists.opensips.org<mailto:users-bounces at lists.opensips.org> [mailto:users-bounces at lists.opensips.org<mailto:users-bounces at lists.opensips.org>] On Behalf Of Ali Pey
Sent: Wednesday, June 13, 2012 10:38 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] libmysqlclient-dev for CentOS?

Make sure you have these packages installed:  mysql-client mysql-devel

Regards,
Ali Pey
On Wed, Jun 13, 2012 at 12:48 PM, Jerry Richards <jerry.richards at teotech.com<mailto:jerry.richards at teotech.com>> wrote:
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?

Linking db_mysql.so
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [db_mysql.so] Error 1
make[2]: Leaving directory `/home/TeoUser/work/opensips.org/1.8/modules/db_mysql<http://opensips.org/1.8/modules/db_mysql>'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/TeoUser/work/opensips.org/1.8<http://opensips.org/1.8>'

Thanks,
Jerry



_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120626/3eb971db/attachment.htm>


More information about the Users mailing list