Package: cacti-spine Version: 0.8.8h-1 Tags: patch User: [email protected] Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer, Please stop linking against libmysqlclient_r and link directly against libmysqlclient instead. Your package currently links against libmysqlclient_r. libmysqlclient_r was the thread-safe version of libmysqlclient in previous MySQL releases. However, libmysqlclient has been itself been made thread-safe since before the current libmysqlclient18. Thus libmysqlclient_r is currently deprecated and provided as a compatibility symlink only, and will disappear in MySQL 5.7. This change can be made now, in advance of a possible future transition to libmysqlclient20, which does not provide the _r variant. For cacti-spine, we have done this in Ubuntu with the attached quilt patch, which I believe is also applicable to Debian. Thanks, Robie Basak Debian MySQL maintainers team Ubuntu developer
Author: Robie Basak <[email protected]> Bug-Ubuntu: https://launchpad.net/bugs/1564871 Forwarded: no Last-Update: 2016-05-20 Index: cacti-spine/configure.ac =================================================================== --- cacti-spine.orig/configure.ac +++ cacti-spine/configure.ac @@ -208,7 +208,7 @@ fi # ****************** MySQL Checks *********************** AC_DEFUN([MYSQL_LIB_CHK], - [ str="$1/libmysqlclient_r.*" + [ str="$1/libmysqlclient.*" for j in `echo $str`; do if test -r $j; then MYSQL_LIB_DIR=$1 @@ -245,7 +245,7 @@ if test -n "$MYSQL_LIB_DIR" ; then fi CFLAGS="-I$MYSQL_INC_DIR $CFLAGS" -AC_CHECK_LIB(mysqlclient_r,mysql_init, LIBS="-lmysqlclient_r", +AC_CHECK_LIB(mysqlclient,mysql_init, LIBS="-lmysqlclient", AC_MSG_ERROR([MySQL libraries not found]) )

