ID:               30749
 Updated by:       [EMAIL PROTECTED]
 Reported By:      stwitche at fairchildsemi dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         PHP options/info functions
 Operating System: Linux/Red Hat 7
 PHP Version:      5.0.2
 New Comment:

sqlite3 is totally incompatible with sqlite2 so we are not going to
support its use in the built-in sqlite extension.

Use the PDO_SQLite driver with PDO in PHP version 5.1 and up instead.


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

[2004-11-10 19:15:38] stwitche at fairchildsemi dot com

Description:
------------
When trying to configure php5.0.2 with sqlite 3.0.8 using
--with-sqlite= I get the following error:

configure: error: wrong sqlite lib version or lib not found

It will configure correctly when using sqlite 2.8.15

The files for 3.0.8 all have a "3" in the filename where the ones for
2.8.15 do not:

3.0.8
libsqlite3.a 
libsqlite3.la    
libsqlite3.so     
libsqlite3.so.0
libsqlite3.so.0.8.6 

2.8.15
ibsqlite.a
libsqlite.la
libsqlite.so  
libsqlite.so.0
libsqlite.so.0.8.6


Reproduce code:
---------------
./configure --disable-libxml 
--enable-track-vars 
--with-apxs=/usr/local/apache/bin/apxs 
--with-sqlite=/usr/local/sqlite


Actual result:
--------------
Configuring extensions
...<skip down to sqlite comments>...
checking whether to enable UTF-8 support in sqlite (default:
ISO-8859-1)... no
checking for sqlite support... yes
checking for sqlite_open in -lsqlite... no
configure: error: wrong sqlite lib version or lib not found




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30749&edit=1

Reply via email to