Home  |  Linux  | Mysql  | PHP  | XML
Date:Sun Mar 29 10:05:34 2009
Subject:#47826 [NEW]: undefined symbol: sqlite3_enable_load_extension
From: oeriksson at mandriva dot com
Operating system: Mandriva Linux
PHP version: 5.3.0RC1
PHP Bug Type: SQLite related
Bug description: undefined symbol: sqlite3_enable_load_extension

On Mandriva Linux Cooker I get:

PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/sqlite3.so' - /usr/lib/php/extensions/sqlite3.so:
undefined symbol: sqlite3_enable_load_extension in Unknown on line 0

We have sqlite3-3.6.11

I noticed that SQLITE_OMIT_LOAD_EXTENSION is unset in main/php_config.h
and should in this case be set to 1.

$ grep SQLITE_OMIT_LOAD_EXTENSION main/php_config.h

Reproduce code:
Just running php-cli

Expected result:
It should work

Actual result:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/sqlite3.so' - /usr/lib/php/extensions/sqlite3.so:
undefined symbol: sqlite3_enable_load_extension in Unknown on line 0

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

Navigate in group php.bugs at sever news.php.net
Previous Next

© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.