ID: 48614
Updated by: [email protected]
Reported By: kaspernj at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Ubuntu Jaunty
PHP Version: 5.3.0RC4
New Comment:
Which configure line did you use?
Previous Comments:
------------------------------------------------------------------------
[2009-06-20 09:58:11] kaspernj at gmail dot com
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 this bug report at http://bugs.php.net/?id=48614&edit=1