<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="1024239">
  <date_last_updated>2012-07-17 20:08:49.966742+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/1024239</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~i-jw-z</bug_owner_link>
    <milestone_link>https://api.launchpad.net/1.0/maria/+milestone/5.2</milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/1024239/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/1024239/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/1024239</bug_web_link>
  <owner>Jan Walraven</owner>
  <assignee>Vladislav Vaintroub</assignee>
  <milestone_title>Maria 5.2</milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>Mysqlclient exports the same symbols as openssl</title>
  <status>New</status>
  <importance>Undecided</importance>
  <created>2012-07-13 06:54:34.083998+00:00</created>
  <description>
<![CDATA[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]]>  </description>
  <activities>
    <activity datechanged="2012-07-13T06:54:34.083998+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Jan Walraven</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2012-07-17T20:08:32.891051+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Vladislav Vaintroub (wlad-montyprogram)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Elena Stepanova</person>
      <message></message>
    </activity>
    <activity datechanged="2012-07-17T20:08:48.732953+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[5.2]]>      </newvalue>
      <whatchanged>maria: milestone</whatchanged>
      <person>Elena Stepanova</person>
      <message></message>
    </activity>
  </activities>
</launchpad-bug>
