Summary: | mysql-connector-c++ 8.x still references obsolete mysqlclient_r library name | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hans de Graaff <graaff> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 707784, 822027 | ||
Attachments: | mysql-connector-c++-mysqlclient_r.patch |
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c4fa458ee594581dc4ecff5f1423db75ed2716 commit 75c4fa458ee594581dc4ecff5f1423db75ed2716 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2022-10-17 05:30:01 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2022-10-17 05:32:33 +0000 dev-db/mysql-connector-c++: fix loading libmysqlclient.so mysql-workbench would fail with mysql-connector-c++ 8.x because it would try to load the obsolete libmysqlclient_r library. This version no longer exists in newer versions of mysql-connector-c. It turns out that mysql-connector-c++ has hard-coded references to this library but since we don't install compatibility symlinks this hardcoded reference will fail. Closes: https://bugs.gentoo.org/831664 Signed-off-by: Hans de Graaff <graaff@gentoo.org> .../mysql-connector-c++-8.0.27-mysqlclient_r.patch | 24 ++++++++++++ .../mysql-connector-c++-8.0.27-r1.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) |
Created attachment 762936 [details, diff] mysql-connector-c++-mysqlclient_r.patch mysql-workbench has been stuck on an old version of mysql-connector-c++ because newer versions would not work correctly as they would try to load the obsolete libmysqlclient_r library. This version no longer exists in newer versions of mysql-connector-c. It turns out that mysql-connector-c++ has hard-coded references to this library but since we don't install compatibility symlinks this hardcoded reference will fail. With the attached patch mysql-workbench no longer fails to connect to databases when using mysql-connector-c++.