From:             
Operating system: Arch Linux
PHP version:      5.3.4
Package:          PDO related
Bug Type:         Bug
Bug description:Unable to load PDO drivers 

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 bug report at http://bugs.php.net/bug.php?id=53529&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53529&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53529&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53529&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53529&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53529&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53529&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53529&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53529&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53529&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53529&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53529&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53529&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53529&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53529&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53529&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53529&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53529&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53529&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53529&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53529&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53529&r=mysqlcfg

Reply via email to