Comment 0 for bug 1331402

Revision history for this message
Aleksis Obuh (axis-78) wrote :

After the library libmysqlclient.so.18 was renamed to libperconaserverclient.so.18 php-fpm from remi repository (and I think other packages) does not see libmysql:

[root@centos5-php-test mysql]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/libmysqlclient.so.18: version `libmysqlclient_16' not found (required by /usr/lib64/php/modules/mysql.so) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - /usr/lib64/libmysqlclient.so.18: version `libmysqlclient_18' not found (required by /usr/lib64/php/modules/mysqli.so) in Unknown on line 0

Soname:

[root@centos5-php-test mysql]# readelf -a libperconaserverclient.so.18 | grep soname
 0x000000000000000e (SONAME) Library soname: [libperconaserverclient.so.18]

[root@centos5-php-test mysql]# rpm -q Percona-Server-shared-56.x86_64 --provides
libmysqlclient.so.18()(64bit)
libperconaserverclient.so.18()(64bit)
libperconaserverclient.so.18(libperconaserverclient_18)(64bit)

Seems php-mysql does not see the library that provides Percona-Server-shared-56.x86_64