← Back to team overview

ius-coredev team mailing list archive

[Question #251453]: Unable to load dynamic library

 

New question #251453 on IUS Community Project:
https://answers.launchpad.net/ius/+question/251453

Hi all,

I have created php54 rpms from the ius community spec and i tried to use the mysql module but it failed.

All is working : http + php-fpm

BUT since i tried to install the  php54 mysql module i have some errors when i try to restart the php-fpm and the pdo module is not loaded.

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo.so' - /usr/lib64/php/modules/pdo.so: undefined symbol: executor_globals_id in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysqlnd.so' - /usr/lib64/php/modules/pdo_mysqlnd.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_sqlite.so' - /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: core_globals_id in Unknown on line 0

I hope you will have an answer / the solution to my issue. :) Many thanks !

Here is the list of the rpms installed on my server (CENTOS 6)

[root@testrpm conf]# rpm -qa php54*
php54-cli-5.4.28-2.ius.CENTOS6.x86_64
php54-mysqlnd-5.4.28-2.ius.CENTOS6.x86_64
php54-pdo-5.4.28-2.ius.CENTOS6.x86_64
php54-common-5.4.28-2.ius.CENTOS6.x86_64
php54-fpm-5.4.28-2.ius.CENTOS6.x86_64

[root@testrpm conf]# rpm -qa httpd
httpd-2.4.7-1.x86_64


In addtion : 
.so files are in the correct folder, .ini are in php.d and seems ok.
-----------------------------------
PHP 5.4.28 (cli) (built: May 13 2014 09:48:35)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
-----------------------------------
Server version: Apache/2.4.7 (Unix)
Server built:   Jan  7 2014 14:39:51
-----------------------------------

-- 
You received this question notification because you are a member of IUS
Core Development, which is an answer contact for IUS Community Project.