Bug #29617 Community "Linux (x86, glibc-2.2, "standard" is static)" binaries are dynamic
Submitted: 7 Jul 2007 17:05 Modified: 9 Jul 2007 18:15
Reporter: Sveta Smirnova Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.0.41 OS:Any
Assigned to: Daniel Fischer

[7 Jul 2007 17:05] Sveta Smirnova
Description:
Community "Linux (x86, glibc-2.2, "standard" is static)" binaries are dynamically linked

How to repeat:
$ldd mysql-5.0.41-linux-i686/bin/mysqld
        linux-gate.so.1 =>  (0x002ce000)
        librt.so.1 => /lib/librt.so.1 (0x0073e000)
        libdl.so.2 => /lib/libdl.so.2 (0x00418000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x0045a000)
        libnss_files.so.2 => /lib/libnss_files.so.2 (0x00970000)
        libnss_dns.so.2 => /lib/libnss_dns.so.2 (0x00894000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00112000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00b77000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00b2c000)
        libm.so.6 => /lib/libm.so.6 (0x0041e000)
        libc.so.6 => /lib/libc.so.6 (0x002ed000)
        /lib/ld-linux.so.2 (0x002cf000)

Suggested fix:
Either download page or build process should be changed
[7 Jul 2007 17:13] Daniel Fischer
The build process explicitly disabled this for community binaries as it was inherited from max.

We should still provide statically linked binaries for community, but it is possible that we will have to disable certain features that are not compatible with static linking (e.g. everything that uses dlopen, like udfs).
[9 Jul 2007 14:01] Daniel Fischer
This will be fixed in 5.0.45, static linking has been re-enabled for this build.
[9 Jul 2007 18:15] Paul Dubois
Noted in 5.0.45 changelog.

Binaries for the Linux x86 statically linked tar.gz Community package
were linked dynamically, not statically. Static linking has been
re-enabled.