on a 64bit system the shared and shared-compat packages can coexist, while they cannot on a 32bit system

Bug #924482 reported by Rene' Cannao'
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
New
Medium
Ignacio Nin

Bug Description

On a 64bit system:

[root@ami-64 x86_64]$ rpm -ql Percona-Server-shared-51.x86_64 | grep libmysqlclient_r.so.16
/usr/lib64/libmysqlclient_r.so.16
/usr/lib64/libmysqlclient_r.so.16.0.0
/usr/lib64/mysql/libmysqlclient_r.so.16
/usr/lib64/mysql/libmysqlclient_r.so.16.0.0

[root@ami-64 x86_64]$ rpm -ql Percona-Server-shared-compat.x86_64 | grep libmysqlclient_r.so.16
/usr/lib64/libmysqlclient_r.so.16
/usr/lib64/libmysqlclient_r.so.16.0.0

==

On a 32bit system it is impossible to install them both:

[root@ami-32 i386]$ ls -1
Percona-Server-51-debuginfo-5.1.60-rel13.1.413.rhel5.i386.rpm
Percona-Server-client-51-5.1.60-rel13.1.413.rhel5.i386.rpm
Percona-Server-devel-51-5.1.60-rel13.1.413.rhel5.i386.rpm
Percona-Server-server-51-5.1.60-rel13.1.413.rhel5.i386.rpm
Percona-Server-shared-51-5.1.60-rel13.1.413.rhel5.i386.rpm
Percona-Server-shared-compat-5.1.60-rel13.1.413.rhel5.i386.rpm

[root@ami-32 i386]$ yum -y --nogpgcheck localinstall *
[snip]
Transaction Check Error:
file /usr/lib/libmysqlclient.so.16.0.0 conflicts between attempted installs of Percona-Server-shared-compat-5.1.60-rel13.1.413.rhel5.i386 and Percona-Server-shared-51-5.1.60-rel13.1.413.rhel5.i386
file /usr/lib/libmysqlclient_r.so.16.0.0 conflicts between attempted installs of Percona-Server-shared-compat-5.1.60-rel13.1.413.rhel5.i386 and Percona-Server-shared-51-5.1.60-rel13.1.413.rhel5.i386

Stewart Smith (stewart)
Changed in percona-server:
importance: Undecided → High
Changed in percona-server:
milestone: none → 5.1.62-13.3
assignee: nobody → Ignacio Nin (ignacio-nin)
Stewart Smith (stewart)
Changed in percona-server:
milestone: 5.1.62-13.3 → 5.1.63-13.4
Stewart Smith (stewart)
Changed in percona-server:
milestone: 5.1.63-13.4 → none
Revision history for this message
Ignacio Nin (ignacio-nin) wrote :

Hello,

I've tested with 5.1.63 (latest) but I was unable to install -shared-compat together with the shared package, not even in 64 bits -- in other words I coudn't reproduce the first case.

Note the way the shared-compats packages are supposed to be used is to be used instead the shared package, so they shouldn't be installed side by side but one in place of the another. Note that this is different as how they work for the 5.5 branch currently.

A solution would be to change the name of the 5.1 branch -shared-compat packages to Percona-Server-shared-compat-51 and allow these to be installed side by side with the -shared package. The name of the package is to be changed so in the repositories it can be chosen instead of the 5.5 branch.

N.

Changed in percona-server:
importance: High → Medium
Revision history for this message
Rene' Cannao' (rene-cannao) wrote :

Ignacio,
with 5.1.63 things aren't solved, but just they act on a different way.

Please review the attached log:
shared-compat can NOT be installed instead of -shared .
Both Percona Server and Client require -shared , and they fail to install with -shared-compat .

This is reproducible on both 32 and 64 bit architecture.

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

@Rene,

shared-compat and shared cannot be installed on 5.1.x due to libmysqlclient.so.16 being in both.

Now, if you need shared-compat for the older versions (libmysqlclient.so.{12,14,15}) then you can install Percona-SQL-shared-compat.x86_64 which won't conflict. (It doesn't have libmysqlclient.so.15 though)

The long term solution is to create a separate Percona-Server-shared-compat for 5.1 (or abandon Percona-Server-shared-51 and a create a singled shared compat with libmysqlclient.so.{12,14,15,16} ). You can track it here: lp:893860

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.