Bug #62049 MySQL-shared-compat-advanced missing older versions of libmysqlclient.so
Submitted: 1 Aug 2011 18:55 Modified: 26 Mar 2013 5:53
Reporter: Jonathan Klotzbach Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.1.58 Advanced OS:Linux
Assigned to: Hery Ramilison CPU Architecture:Any
Tags: regression

[1 Aug 2011 18:55] Jonathan Klotzbach
Description:
The MySQL-shared-compat-advanced-5.1.58-1.rhel5.x86_64.rpm RPM file is missing the older versions of libmysqlclient.so.  As a result, any code that is linked against those older versions are failing.  As an example, I was using the nagios-plugins provided in RHEL 5, and the check_mysql plugin no longer works because it is looking for libmysqlclient.so.15.  

How to repeat:
You can verify this quickly by examining the contents of the RPM files.  

Here are the contents of MySQL-shared-compat-advanced-5.1.57-1.rhel5.x86_64.rpm:

rpm -qlp MySQL-shared-compat-advanced-5.1.57-1.rhel5.x86_64.rpm 
/usr/lib64/libmysqlclient.so
/usr/lib64/libmysqlclient.so.14
/usr/lib64/libmysqlclient.so.14.0.0
/usr/lib64/libmysqlclient.so.15
/usr/lib64/libmysqlclient.so.15.0.0
/usr/lib64/libmysqlclient.so.16
/usr/lib64/libmysqlclient.so.16.0.0
/usr/lib64/libmysqlclient_r.so
/usr/lib64/libmysqlclient_r.so.14
/usr/lib64/libmysqlclient_r.so.14.0.0
/usr/lib64/libmysqlclient_r.so.15
/usr/lib64/libmysqlclient_r.so.15.0.0
/usr/lib64/libmysqlclient_r.so.16
/usr/lib64/libmysqlclient_r.so.16.0.0

Here are the contents of MySQL-shared-compat-advanced-5.1.58-1.rhel5.x86_64.rpm:

rpm -qlp MySQL-shared-compat-advanced-5.1.58-1.rhel5.x86_64.rpm 
/usr/lib64/libmysqlclient.so
/usr/lib64/libmysqlclient.so.16
/usr/lib64/libmysqlclient.so.16.0.0
/usr/lib64/libmysqlclient_r.so
/usr/lib64/libmysqlclient_r.so.16
/usr/lib64/libmysqlclient_r.so.16.0.0
[2 Aug 2011 6:12] Valeriy Kravchuk
Please, send the exact URL you had used to download this RPM.
[2 Aug 2011 6:46] Jonathan Klotzbach
I downloaded the entire 5.1.58 MySQL Advanced Server package through My Oracle Support:

https://support.oracle.com/CSP/ui/flash.html#tab=PatchHomePage(page=PatchHomePage&id=gqui5...)))
[2 Aug 2011 9:14] Valeriy Kravchuk
Verified just as described. Same problem with MySQL-shared-compat-enterprise-5.1.58-1.rhel5.x86_64.rpm I've downloaded from "Patches & Updates" section.
[4 Aug 2011 22:07] Hery Ramilison
Fix understood in internal tools, will be fixed in 5.1.59. 

Will keep this bug open until 5.1.59 bits are generated and verified to contain the missing libraries.

Thanks,
Hery
[26 Mar 2013 5:53] Erlend Dahl
Verified as fixed in 5.1.68.