diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-09-09 17:03:56 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-09-09 17:31:15 +0200 |
commit | 2e01b87378e78945791b09318135b36b16edf0aa (patch) | |
tree | 9f933f36f70326d7c976eef9264ec78227f761b1 | |
parent | ddffb797904c5ae1a5ab3bc66eeb9bfc168a0148 (diff) |
fdo#83656 mariadb C client library incompatible with newer MySQL Connector/C++
Change-Id: I0d9cc98070c0b9379b1fd828ac65c2d32f83a93f
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | mysqlc/README | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index b7d2fe035cbb..d2a9e821bc0f 100644 --- a/configure.ac +++ b/configure.ac @@ -8224,11 +8224,12 @@ if test "$ENABLE_MARIADBC" = "TRUE"; then if test "$with_system_mariadb" = "yes"; then AC_MSG_RESULT([external]) SYSTEM_MARIADB=TRUE - AC_PATH_PROG(MARIADBCONFIG, [mariadb_config]) + #AC_PATH_PROG(MARIADBCONFIG, [mariadb_config]) if test -z "$MARIADBCONFIG"; then AC_PATH_PROG(MARIADBCONFIG, [mysql_config]) if test -z "$MARIADBCONFIG"; then - AC_MSG_ERROR([mariadb_config and mysql_config are missing. Install MariaDB or MySQL development package.]) + AC_MSG_ERROR([mysql_config is missing. Install MySQL client library development package.]) + #AC_MSG_ERROR([mariadb_config and mysql_config are missing. Install MariaDB or MySQL client library development package.]) fi fi AC_MSG_CHECKING([MariaDB version]) @@ -8285,6 +8286,7 @@ if test "$ENABLE_MARIADBC" = "TRUE"; then fi else AC_MSG_RESULT([internal]) + AC_MSG_ERROR([libmariadb is known to be incompatible as of 2014-09; use libmysqlclient]) SYSTEM_MARIADB= MARIADB_CFLAGS="-I${WORKDIR}/UnpackedTarball/mariadb/include" MARIADB_LIBS="-L${WORKDIR}/LinkTarget/StaticLibrary -lmariadblib" diff --git a/mysqlc/README b/mysqlc/README index 8d0968f0751c..baf0747f65a8 100644 --- a/mysqlc/README +++ b/mysqlc/README @@ -34,7 +34,7 @@ package/port for GNU/Linux, BSD, etc, where the packaging system handles dependencies and will ensure the availability of the MySQL client C library in the standard location. -If configured with--with-system-mariadb --enable-bundle-mariadb, the +If configured with --with-system-mariadb --enable-bundle-mariadb, the driver will ship a copy of the MariaDB (or MySQL) client C library so that it works "out of the box" on any system. That (or --without-system-mariadb) is usually the right choice to create a @@ -55,9 +55,13 @@ libraries themselves. Else you can install the MariaDB Client Library from official MariaDB packages at https://downloads.mariadb.org/client-native/ . -At least series 2.0 is recommended, as series 1.0 are known to be too -buggy. They have source and binary distributions for several platforms. +At least series 2.0 is recommended, as series 1.0 are known to be too +buggy. Additionally, version 2.0.0 is known to be incompatible with +MySQL Connector/C++ version 1.1.4, which --without-system-mysqlcppconn +uses, and which --with-system-mysqlcppconn could use +(see https://mariadb.atlassian.net/browse/CONC-104). +Use a version where the above incompatibility has been solved. Alternativaly, MySQL Client Library from official MySQL packages are at http://dev.mysql.com/downloads/connector/c/ . |