Bug 189554 - mysql-python linked against wrong version of mysql
mysql-python linked against wrong version of mysql
Status: CLOSED DUPLICATE of bug 150828
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: MySQL-python (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tom Lane
Depends On:
  Show dependency treegraph
Reported: 2006-04-20 21:15 EDT by Jack Neely
Modified: 2013-07-02 23:09 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-04-20 22:32:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jack Neely 2006-04-20 21:15:17 EDT
Description of problem:
With RHEL 4, loading the php-mysql DSO into apache and using another mysql
system such as mod_python + mysql apache segfaults, gets sigabrt's, glibc
reports double frees, and other unfunness.  This is due to modules linking to
different mysql clients.  This creates conflicting modules loaded into apache.

mod_python has an FAQ about this:

Please have all apache modules link against the same mysql libraries so that all
the lamp-ish software included with RHEL can be used together.

[root@linux00ws ~]# ldd /usr/lib/python2.3/site-packages/_mysql.so
        libmysqlclient.so.10 => /usr/lib/mysql/libmysqlclient.so.10 (0x00eb3000)
       libz.so.1 => /usr/lib/libz.so.1 (0x00215000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x002bf000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00d19000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00c0b000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00413000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00111000)
        /lib/ld-linux.so.2 (0x003cb000)
[root@linux00ws ~]# ldd /usr/lib/php4/mysql.so
        libmysqlclient.so.14 => /usr/lib/mysql/libmysqlclient.so.14 (0x003e5000)
       libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x008e0000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00820000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00888000)
        libssl.so.4 => /lib/libssl.so.4 (0x00910000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x00eb8000)
        libz.so.1 => /usr/lib/libz.so.1 (0x007f0000)
        /lib/ld-linux.so.2 (0x003cb000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x0023b000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00a98000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00788000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x0024f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x002f8000)
        libdl.so.2 => /lib/libdl.so.2 (0x009dc000)
Comment 1 Tom Lane 2006-04-20 22:32:16 EDT
Yeah, we know.  It seems that mysql-python is too far down the priority list to get included in quarterly 
update lists, despite being totally broken :-(.  Not my call unfortunately.

*** This bug has been marked as a duplicate of 150828 ***

Note You need to log in before you can comment on or make changes to this bug.