Bug #39299 HP-UX packages contain duplicate files instead of symlinks
Submitted: 8 Sep 2008 6:50 Modified: 2 Dec 2010 9:52
Reporter: River Tarnell Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.0.67 OS:HP/UX (B.11.11 on PA-RISC)
Assigned to: Karen Langford CPU Architecture:Any

[8 Sep 2008 6:50] River Tarnell
Description:
The 5.0.67 package for HP-UX 11.11 (mysql-5.0.67-hpux11.11-hppa2.0w.depot) contains duplicate files in lib/ instead of symlinks:

-r-xr-xr-x   1 bin        bin        5383040 Aug  4 23:47 libmysqlclient_r.sl*
-r-xr-xr-x   1 bin        bin        5383040 Aug  4 23:47 libmysqlclient_r.sl.15*
-r-xr-xr-x   1 bin        bin        5383040 Aug  4 23:47 libmysqlclient_r.sl.15.0*

Only the .sl.15.0 file should be a file; the .sl and .sl.15 files should be a symlink to this.  Including duplicate files wastes disk space and makes the package larger.

How to repeat:
Install the MySQL depot and run ls -l /usr/local/mysql-5.0.67-hpux11.11-hppa2.0w/lib

Suggested fix:
Remove the files and create symlinks instead.
[8 Sep 2008 7:44] Valeriy Kravchuk
Thank you for a problem report. Verified just as described:

-bash-2.05b$ file /nfstmp2/home/mysqldev/mysql-5.0.67-hpux11.11-hppa2.0w.depot
/nfstmp2/home/mysqldev/mysql-5.0.67-hpux11.11-hppa2.0w.depot:   tar file
-bash-2.05b$ tar -tvf /nfstmp2/home/mysqldev/mysql-5.0.67-hpux11.11-hppa2.0w.depot | grep libmysqlclient_r
r--r--r--   2/2 15417846 Aug  5 00:47 2008 mysql/all/usr/local/mysql-5.0.67-hpux11.11-hppa2.0w/lib/libmysqlclient_r.a
r-xr-xr-x   2/2 5383040 Aug  5 00:47 2008 mysql/all/usr/local/mysql-5.0.67-hpux11.11-hppa2.0w/lib/libmysqlclient_r.sl
r-xr-xr-x   2/2 5383040 Aug  5 00:47 2008 mysql/all/usr/local/mysql-5.0.67-hpux11.11-hppa2.0w/lib/libmysqlclient_r.sl.15
r-xr-xr-x   2/2 5383040 Aug  5 00:47 2008 mysql/all/usr/local/mysql-5.0.67-hpux11.11-hppa2.0w/lib/libmysqlclient_r.sl.15.0
[2 Dec 2010 9:52] Kent Boortz
Platform is not supported any more, see

http://www.mysql.com/support/supportedplatforms/database.html

This problem was also corrected in 5.1.