Package: tarantool-lts-mysql-module
Version: 1.5.5-18-g2998d20-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.

In Ubuntu, we have done this with the attached quilt patch, which I
believe is also applicable to Debian.

Thanks,

Robie Basak
Debian MySQL maintainers team
Ubuntu developer
Description: Build with mysqlclient instead of mysqlclient_r
 mysqlclient_r has been removed in MySQL 5.7. Since before 5.6
 the two libraries have been equivalent, so can simply use
 mysqlclient instead
Author: Lars Tangvald <[email protected]>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tarantool-lts/+bug/1570380
Forwarded: no
Last-Update: 2016-04-14

--- tarantool-lts-1.5.5-18-g2998d20.orig/cmake/FindMySQL.cmake
+++ tarantool-lts-1.5.5-18-g2998d20/cmake/FindMySQL.cmake
@@ -3,7 +3,7 @@ find_path(MYSQL_INCLUDE_DIR
     PATH_SUFFIXES mysql
 )
 find_library(MYSQL_LIBRARIES
-    NAMES mysqlclient_r
+    NAMES mysqlclient
     PATH_SUFFIXES mysql
 )
 

Reply via email to