Comment 4 for bug 1255451

Revision history for this message
Nickolay Ihalainen (ihanick) wrote : Re: Version check crashes perl on CentOS 5

The problem is only exists with Percona-Server-shared-compat installed.

rm -rf /tmp/percona-version-check

LD_PRELOAD=/usr/lib64/libmysqlclient.so.15 innobackupex --version-check .
140108 04:52:13 innobackupex: Connected to MySQL server
140108 04:52:13 innobackupex: Executing a version check against the server...
Segmentation fault (core dumped)

But,
I have downloaded libmysqlclient.so.15 from: http://mirror.logol.ru/centos/5.10/os/x86_64//CentOS/mysql-5.0.95-5.el5_9.x86_64.rpm
rpm2cpio mysql-5.0.95-5.el5_9.x86_64.rpm | cpio -ivd ./usr/lib64/mysql/libmysqlclient.so.15.0.0
LD_PRELOAD=./usr/lib64/mysql/libmysqlclient.so.15.0.0 innobackupex --version-check .
140108 04:58:29 innobackupex: completed OK!

The issue and workaround also affects other scripts using SSL and mysqlclient, e.g. pt-agent