Bug #27745 mysql-5.0.37-linux-x86_64-icc-glibc23 is not statically linked
Submitted: 11 Apr 2007 4:04 Modified: 11 Apr 2007 5:13
Reporter: Peter Stein Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Packaging Severity:S1 (Critical)
Version: OS:Linux
Assigned to: CPU Architecture:Any

[11 Apr 2007 4:04] Peter Stein
Description:
The mysql-5.0.37-linux-x86_64-icc-glibc23 binary that MySQL built using the Intel ICC compiler was not statically linked. This binary depends on an ICC version of libstdc++.so.5 being available.This makes this binary unusable for users that do not have a copy of the ICC compiler as they cannot generate an ICC version of the library. The gcc version and icc versions are not interchangable as they are not ABI compatible.

How to repeat:
Start mysqld. It immediately fails with:

/usr/sbin/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Suggested fix:
Link statically under the Intel ICC toolchain, i.e. zero dependencies on .so
[11 Apr 2007 5:13] Peter Stein
Apparently the gcc version of libstdc++.so.5 satisfies the ICC mysqld binary. My apologies for submitting an invalid report.