We're updating the issue view to help you get more done. 

LP:1024239 - Mysqlclient exports the same symbols as openssl

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

1 2 3 4 5 6 7 8 9 10 11 12 13 # 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

Environment

None

Status

Assignee

Vladislav Vaintroub

Reporter

Jan Walraven

Labels

Fix versions

Priority