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

LP:1024239 - Mysqlclient exports the same symbols as openssl

    XMLWordPrintable

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

          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.