Bug #4422 mysql_tzinfo_to_sql is dynamically linked binary on pc-linux-i686-icc
Submitted: 6 Jul 2004 18:42 Modified: 2 Aug 2004 14:03
Reporter: Dmitry Lenev Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.1.3 OS:Linux (linux, icc)
Assigned to: Lenz Grimmer CPU Architecture:Any

[6 Jul 2004 18:42] Dmitry Lenev
Description:
mysql_tzinfo_to_sql utility which is shipped as part of mysql-standard-4.1.3-beta-pc-linux-i686-icc
distribution is dynamically linked, so it has dependencies on some icc-specific libaries.
This makes this utility unusable on systems which don't have them installed...

How to repeat:
Just inspect ldd output for mysql_tzinfo_to_sql utility which comes into mysql-standard-4.1.3-beta-pc-linux-i686-icc binary distribution...

Suggested fix:
Probably we should link mysql_tzinfo_to_sql statically on those platforms where other client binaries are built statically because of similar problems...
[2 Aug 2004 14:03] Lenz Grimmer
I fixed this one for the 4.1 tree already:

ChangeSet@1.1936.11.1, 2004-07-30 13:52:44+02:00, lenz@mysql.com
   - added the MYSQL_EXTRA_LDFLAGS to the mysql_tzinfo_to_sql link
     flags to enable static linking (to avoid having a shared lib
     dependency in the Linux RPMs)