Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-712

LP:1024239 - Mysqlclient exports the same symbols as openssl

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5.29, 5.3.10, 5.2.14
    • Component/s: None
    • Labels:

      Description

      Mysqlclient exports the same symbols as openssl (libcrypto)

      I'm using Centos 6.2 64 bit and MariaDB 5.2.12.

      When using a custom compiled PHP with openssl, imap and mysql i can't use fsocketopen() with SSL;
      When i remove mariadb and install mysql from the centos distribution there is no problem.

      The problem is that the Mysqlclient exports the same symbols as openssl (libcrypto)

      The bug is already reported and fixed by mysql:
      http://bugs.mysql.com/bug.php?id=19289

      See also
      http://bugs.mysql.com/bug.php?id=21930

      # objdump -T /usr/lib64/libcrypto.so.1.0.0  |awk '{ print $7 }' |sort |uniq> sym.crypto
      # objdump -T /usr/lib64/libmysqlclient.so.16 |awk '{ print $7 }' |sort |uniq> sym.mysql
      # join sym.crypto sym.mysql
      __bss_start
      CRYPTO_add_lock                  
      CRYPTO_lock
      CRYPTO_mem_ctrl
      __cxa_finalize
      _edata
      _end
      EVP_CIPHER_CTX_init
      _fini
      _init
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 1024239

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 1024239
            Hide
            serg Sergei Golubchik added a comment -

            This change has broken feedback plugin, see 5.2 tree in buildbot

            Show
            serg Sergei Golubchik added a comment - This change has broken feedback plugin, see 5.2 tree in buildbot

              People

              • Assignee:
                wlad Vladislav Vaintroub
                Reporter:
                janwalraven Jan Walraven
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h