From:             kaspernj at gmail dot com
Operating system: Ubuntu Jaunty
PHP version:      5.3.0RC4
PHP Bug Type:     PDO related
Bug description:  Crash when loading "pdo_sqlite3.so"

Description:
------------
After succesfully compiling PHP 5.3 RC4 with PDO and PDO-SQLite, I ran a
test-script to test all the shared extensions.

When trying to load the PDO-SQLite extension, I get the following error:
Warning: dl(): Unable to load dynamic library '.../pdo_sqlite.so' -
.../pdo_sqlite.so: undefined symbol: sqlite3_libversion in ../test.php on
line 5

Everything was compiled as shared extensions and loaded through a CLI
script with dl().

Reproduce code:
---------------
#!/opt/php53/bin/php
<?php
 dl("gd.so");
 dl("pdo.so");
 dl("pdo_sqlite.so");
 echo("Hejsa\n");
?>

Expected result:
----------------
Hejsa


Actual result:
--------------
Warning: dl(): Unable to load dynamic library '.../pdo_sqlite.so' -
.../pdo_sqlite.so: undefined symbol: sqlite3_libversion in ../test.php on
line 5

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

Reply via email to