#47826 [Opn]: undefined symbol: sqlite3_enable_load_extension

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               47826
 Updated by:       [email protected]
 Reported By:      oeriksson at mandriva dot com
 Status:           Open
 Bug Type:         SQLite related
 Operating System: Mandriva Linux
 PHP Version:      5.3.0RC1
 New Comment:

What configure line did you use?


Previous Comments:
------------------------------------------------------------------------

[2009-03-29 10:05:34] oeriksson at mandriva dot com

Description:
------------
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
/* #undef SQLITE_OMIT_LOAD_EXTENSION */

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 this bug report at http://bugs.php.net/?id=47826&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.