Percona-XtraDB-Cluster-shared additional Provides libmysqlclient_16 libmysqlclient_18

Bug #1045763 reported by David Busby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
New
Undecided
Unassigned

Bug Description

Attempting to build a Fedora 17 new openstack deployment at present backed by XtraDB.

Results in a dependency issue:

"""
---> Package MySQL-python.x86_64 0:1.2.3-5.fc17 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16)(64bit) for package: MySQL-python-1.2.3-5.fc17.x86_64
Package mysql-libs is obsoleted by Percona-Server-shared-compat, but obsoleting package does not provide for requirements
--> Finished Dependency Resolution
Error: Package: MySQL-python-1.2.3-5.fc17.x86_64 (updates)
           Requires: libmysqlclient.so.18(libmysqlclient_16)(64bit)
           Available: mysql-libs-5.5.23-1.fc17.x86_64 (fedora)
               libmysqlclient.so.18(libmysqlclient_16)(64bit)
           Available: mysql-libs-5.5.27-1.fc17.x86_64 (updates)
               libmysqlclient.so.18(libmysqlclient_16)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
"""

Whilst the file in question does infact exist and is provided by the shared packaget:

"""
yum provides /usr/lib64/libmysqlclient.so.18
Loaded plugins: langpacks, presto, refresh-packagekit
Percona-Server-shared-55-5.5.27-rel28.0.291.rhel6.x86_64 : Percona Server - Shared libraries
Repo : percona
Matched from:
Filename : /usr/lib64/libmysqlclient.so.18

1:Percona-XtraDB-Cluster-shared-5.5.24-23.6.340.rhel6.x86_64 : Percona XtraDB Cluster - Shared libraries
Repo : percona
Matched from:
Filename : /usr/lib64/libmysqlclient.so.18

1:Percona-XtraDB-Cluster-shared-5.5.24-23.6.340.rhel6.x86_64 : Percona XtraDB Cluster - Shared libraries
Repo : @percona
Matched from:
Filename : /usr/lib64/libmysqlclient.so.18
"""

However the provides information does not note the presence of libmysqlclient_16:

"""
rpm -q Percona-XtraDB-Cluster-shared --provides
Percona-Server-shared
libmysqlclient.so.18()(64bit)
mysql-libs
mysql-shared
Percona-XtraDB-Cluster-shared = 1:5.5.24-23.6.340.rhel6
Percona-XtraDB-Cluster-shared(x86-64) = 1:5.5.24-23.6.340.rhel6
"""

For reference the output from mysql-libs on fedora 16:

"""
rpm -q mysql-libs --provides
config(mysql-libs) = 5.5.19-1.fc15
libmysqlclient.so.18()(64bit)
libmysqlclient.so.18(libmysqlclient_16)(64bit)
libmysqlclient.so.18(libmysqlclient_18)(64bit)
mysql-libs = 5.5.19-1.fc15
mysql-libs(x86-64) = 5.5.19-1.fc15
"""

As such I would assume the following needs adding the the .spec file:

Provides: libmysqlclient_16, libmysqlclient_18

As a workaround will be installing MySQL-python via:

rpm -Uvh --nodeps http://kojipkgs.fedoraproject.org//packages/MySQL-python/1.2.3/5.fc17/x86_64/MySQL-python-1.2.3-5.fc17.x86_64.rpm
Retrieving http://kojipkgs.fedoraproject.org//packages/MySQL-python/1.2.3/5.fc17/x86_64/MySQL-python-1.2.3-5.fc17.x86_64.rpm
Preparing... ########################################### [100%]
   1:MySQL-python ########################################### [100%]

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

Marking this a duplicate of lp:1050654 , I will update 1050654 about information on Percona-XtraDB-Cluster-shared as well.

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.