FS#22072 - [php] Unable to load PDO drivers
Attached to Project:
Arch Linux
Opened by Evangelos Foutras (foutrelis) - Sunday, 12 December 2010, 18:46 GMT
Last edited by Pierre Schmitz (Pierre) - Thursday, 16 December 2010, 20:54 GMT
Opened by Evangelos Foutras (foutrelis) - Sunday, 12 December 2010, 18:46 GMT
Last edited by Pierre Schmitz (Pierre) - Thursday, 16 December 2010, 20:54 GMT
|
Details
Description:
It would appear that the PDO drivers are broken on i686 in the latest release. On the other hand, on x86_64 they load with no problem whatsoever. On a i686 machine with the the MySQL and PostgreSQL PDO drivers enabled, I get the following errors: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_mysql.so' - /usr/lib/php/modules/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_pgsql.so' - /usr/lib/php/modules/pdo_pgsql.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0 Additional info: * package version(s): php 5.3.4-1 Steps to reproduce: Uncomment the pdo.so and pdo_mysql.so extensions in /etc/php/php.ini and run `php -m'. At the beginning you should see an error saying "Unable to load dynamic library '/usr/lib/php/modules/pdo_mysql.so'". |
This task depends upon
Please do move pdo.so before the drivers in the default php.ini too.
I closed the upstream report.
(I guess I'll be left wondering why it worked on x86_64. :p)
It's a documentation issue at best and there is no reason to release a new package as this wont change anything.
Ultimately, you're the package's maintainer, so you decide how to proceed. I'm just presenting my point of view and trying to be proactive.