libmysqlclient18 and Percona-Server-shared does not provide libmysqlclient_r

Bug #878625 reported by Michael Koziarski
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Invalid
High
Unassigned
5.5
Invalid
High
Unassigned
5.6
Invalid
High
Unassigned

Bug Description

The libmysqlclient18 package provided for Ubuntu Lucid does not provide a libmysqlclient_r.so.18, the upshot of this is that code which is built against the _r .so can find the corresponding version at runtime and you get strange ABI related errors.

The simplest case of this is where you have libmysqlclient16 and 18 installed, then build the mysql2 gem for ruby. Any attempt to use that gem will complain about the ABI change.

Tags: pkg 56qual
Stewart Smith (stewart)
tags: added: pkg
Stewart Smith (stewart)
Changed in percona-server:
importance: Undecided → High
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

In both upstream and Percona Server versions (both debian and centos), libmysqlclient_r.so.18.0.0 is a symlink to libmysqlclient.so or libmysqlclient.so.18.0.0 respectively. This needs to be investigated (whether _r version is required for 18 version).

Can you provide more details over build fail of mysql2 gem?

summary: - libmysqlclient18 does not provide libmysqlclient_r
+ libmysqlclient18 and Percona-Server-shared does not provide
+ libmysqlclient_r
Revision history for this message
Alexey Kopytov (akopytov) wrote :

libmysqlclient_r.so is not required anymore, though versioned _r.so
files should not be linked to unversioned libmysqlclient.so, see
http://bugs.mysql.com/bug.php?id=59106

But that's just violation of some packaging guidelines.

So we need to figure out what causes the ABI errors. I.e. we need more
details.

Changed in percona-server:
status: Incomplete → Invalid
tags: added: 56qual
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-509

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.