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

LP:1024239 - Mysqlclient exports the same symbols as openssl

Details

    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

      Attachments

        Activity

          janwalraven Jan Walraven created issue -

          Launchpad bug id: 1024239

          ratzpo Rasmus Johansson (Inactive) added a comment - Launchpad bug id: 1024239
          ratzpo Rasmus Johansson (Inactive) made changes -
          Field Original Value New Value
          Labels Launchpad
          ratzpo Rasmus Johansson (Inactive) made changes -
          Fix Version/s Maria 5.2 [ 11301 ]
          Labels Launchpad Launchpad MariaDB_5.2
          ratzpo Rasmus Johansson (Inactive) made changes -
          Key IMT-6622 MDEV-712
          Project ImportTest [ 10200 ] MariaDB Development [ 10000 ]
          Workflow jira [ 20271 ] defaullt [ 21556 ]
          serg Sergei Golubchik made changes -
          Fix Version/s 5.5.29 [ 11701 ]
          Fix Version/s 5.3.10 [ 11500 ]
          Fix Version/s 5.2.13 [ 10800 ]
          serg Sergei Golubchik made changes -
          Labels Launchpad MariaDB_5.2 Launchpad
          serg Sergei Golubchik made changes -
          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
          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


          {noformat}
          # 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
          {noformat}

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

          serg Sergei Golubchik added a comment - This change has broken feedback plugin, see 5.2 tree in buildbot
          serg Sergei Golubchik made changes -
          Fix Version/s 5.2.14 [ 12101 ]
          Fix Version/s 5.2.13 [ 10800 ]
          serg Sergei Golubchik made changes -
          Fix Version/s 5.5.29 [ 12102 ]
          Fix Version/s 5.5.28a [ 11701 ]
          wlad Vladislav Vaintroub made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow defaullt [ 21556 ] MariaDB v2 [ 46119 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 46119 ] MariaDB v3 [ 66794 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 66794 ] MariaDB v4 [ 145081 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.