[MDEV-712] LP:1024239 - Mysqlclient exports the same symbols as openssl Created: 2012-07-13  Updated: 2012-11-29  Resolved: 2012-11-29

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.5.29, 5.3.10, 5.2.14

Type: Bug
Reporter: Jan Walraven Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug1024239.xml    

 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



 Comments   
Comment by Rasmus Johansson (Inactive) [ 2012-07-17 ]

Launchpad bug id: 1024239

Comment by Sergei Golubchik [ 2012-11-26 ]

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

Generated at Thu Feb 08 06:30:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.