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: [email protected] 
[mailto:[email protected]] 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 
<[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>]
 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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to