#436 1.7 fails to compile against mysql 5.5 libs

1.7.x
closed-invalid
modules (454)
5
2011-10-18
2011-10-11
Anonymous
No

We are using mysql 5.5 client libs and the db_mysql module fails to compile.

The error given is this:

make[1]: Entering directory `/usr/local/src/opensips_1_7/modules/db_mysql'
Compiling dbase.c
dbase.c:37:25: error: mysql/mysql.h: No such file or directory
dbase.c:38:26: error: mysql/errmsg.h: No such file or directory
dbase.c:39:32: error: mysql/mysqld_error.h: No such file or directory
dbase.c:40:33: error: mysql/mysql_version.h: No such file or directory
In file included from dbase.c:46:
val.h:44: error: expected declaration specifiers or ‘...’ before ‘MYSQL_BIND’

opensips v 1.7 svn revision 8471

distro: Debian Squeeze

pkg version:

dpkg -s libmysqlclient-dev
Package: libmysqlclient-dev
Status: install ok installed
Priority: extra
Section: libdevel
Installed-Size: 15388
Maintainer: Percona Server Development Team <mysql-dev@percona.com>
Architecture: amd64
Source: percona-server-5.5
Version: 5.5.15-rel21.0-160.lenny
Replaces: libmysqlclient10-dev, libmysqlclient12-dev, libmysqlclient14-dev, libmysqlclient15-dev, libmysqlclient16-dev, libpercona-xtradb-client-dev
Depends: libmysqlclient18 (= 5.5.15-rel21.0-160.lenny), zlib1g-dev
Conflicts: libmysqlclient10-dev, libmysqlclient12-dev, libmysqlclient14-dev, libmysqlclient15-dev, libmysqlclient16-dev
Description: Percona Server database development files
Percona Server is a fast, stable and true multi-user, multi-threaded SQL
database server. SQL (Structured Query Language) is the most popular
database query language in the world. The main goals of Percona Server are
speed, robustness and ease of use.
.
This package includes development libraries and header files.
Homepage: http://www.percona.com/software/percona-server/

Discussion

    • assigned_to: nobody --> vladut-paiu
    • status: open --> closed-invalid