Bug #53529 [Csd->Bgs]: Unable to load PDO drivers
| From: | cataphract@php.net | Date: | Sun, 12 Dec 2010 19:30:11 +0000 |
| Subject: | Bug #53529 [Csd->Bgs]: Unable to load PDO drivers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156933@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53529&edit=1
ID: 53529
Updated by: cataphract@php.net
Reported by: foutrelis at gmail dot com
Summary: Unable to load PDO drivers
-Status: Closed
+Status: Bogus
Type: Bug
Package: PDO related
Operating System: Arch Linux
PHP Version: 5.3.4
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2010-12-12 20:27:35] foutrelis at gmail dot com
This bug report turned out to be invalid.
The issue was downstream, where the extensions included in the default
php.ini got sorted alphabetically in this release and pdo.so ended up
being below the PDO drivers. Moving it above the drivers makes it work
again.
Sorry for the noise. :)
------------------------------------------------------------------------
[2010-12-12 19:59:33] foutrelis at gmail dot com
Description:
------------
I upgraded to PHP 5.3.4 on Arch Linux using the distribution's official
packages. The previous version (5.3.3) worked great, but with the latest
one it would appear that the PDO drivers are broken.
The issue I'm experiencing only occurs on i686; x86_64 is working fine.
The actual problem is that after enabling PDO, and either the MySQL or
PostgreSQL PDO driver (I didn't test with others), I get an error
saying:
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
And the PDO driver does not get loaded. A `php -m' shows that only PDO
is being loaded successfully.
See the build function on [1] for the way Arch configures PHP. I've also
opened a bug report on Arch's bug tracker [2] and will post a link to
this bug there.
Let me know if I can provide any further information that might help
discover the root cause of the issue.
[1]
http://repos.archlinux.org/wsvn/packages/php/trunk/PKGBUILD?rev=102873
[2] https://bugs.archlinux.org/task/22072
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53529&edit=1