Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Not a Bug
-
Affects Version/s: 5.5.36, 5.5.37, 10.0.11
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:CentOS 6, 64-bit.
Description
Libmysqlclient which comes with MariaDB-compat-10.0.11-1.el6.x86_64 package does not contain deflate* functions, which causes zend encoded sites not to work on old php 5.2 versions. After coping /usr/lib64/libmysqlclient.so.15 file from MySQL-shared-compat-5.5.35-1.linux2.6.x86_64 package, site begins to work.
Here is some info:
[root@box1 ~]# rpm -qf /usr/lib64/libmysqlclient.so.15 MySQL-shared-compat-5.5.35-1.linux2.6.x86_64 [root@box1 ~]# strings /usr/lib64/libmysqlclient.so.15 |grep -i defl deflateInit_ deflate deflateEnd deflate_copyright deflateSetDictionary deflateSetHeader deflatePrime deflateTune deflateBound deflateParams deflateReset deflateInit2_ deflateCopy deflate 1.2.3 Copyright 1995-2005 Jean-loup Gailly [root@box2 ~]# rpm -qf /usr/lib64/libmysqlclient.so.15.0.0 MariaDB-compat-10.0.11-1.el6.x86_64 [root@box2 ~]# strings /usr/lib64/libmysqlclient.so.15.0.0 |grep -i defl [root@box2 ~]#
Is it possible to include these deflate functions in next update?
Thanks!
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
This is because our packages according to the RedHat rules are linked dynamically with libz, our libmysqlclient.so does not provide zlib functionality, you need libz for that.
Also (again, according to RedHat/CentOS/Fedora/etc rules) our client library does not indiscriminately exports all internal and third-party symbols, we only export the client API from our shared library.
Anyway, normally, libz should be picked up automatically by the dynamic linker, I don't understand how your php can depend on libmysqlclient providing zlib compression functionality.