Edit report at http://bugs.php.net/bug.php?id=53529&edit=1

 ID:                 53529
 User updated by:    foutrelis at gmail dot com
 Reported by:        foutrelis at gmail dot com
 Summary:            Unable to load PDO drivers
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            PDO related
 Operating System:   Arch Linux
 PHP Version:        5.3.4
 Block user comment: N
 Private report:     N

 New Comment:

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. :)


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to