Hi

The problem is that the mariadb-connector-c package adds symbol versioning to
the mariadb_config binary. By doing so it fails to correctly export the
_IO_stdin_used symbol added by the GNU libc.

The attached patch fixes the problem on mips64el.
This solution was used to fix lua5.2 package with similar bug.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816059

Daniel
--- mariadb-connector-c-2.3.1.orig/libmariadb/CMakeLists.txt
+++ mariadb-connector-c-2.3.1/libmariadb/CMakeLists.txt
@@ -218,7 +218,8 @@ SET(EXPORT_SYMBOLS
  mysql_thread_init
  mysql_thread_safe
  mysql_use_result
- mysql_warning_count)
+ mysql_warning_count
+ _IO_stdin_used)
 
 IF(WITH_OPENSSL)
   SET(EXPORT_SYMBOLS ${EXPORT_SYMBOLS} mariadb_deinitialize_ssl)

Reply via email to