php-5.1.5 without sqlite3 support?
| From: | Marten Lehmann | Date: | Wed, 23 Aug 2006 13:31:29 +0000 |
| Subject: | php-5.1.5 without sqlite3 support? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-25409@lists.php.net to get a copy of this message | ||
Hello,
compiling php ends with an error on my system:
checking for sqlite_open in -lsqlite... no
configure: error: wrong sqlite lib version or lib not found
This is likely to happen, because I'm working with sqlite3 instead of sqlite 2.x:
ldconfig -p | grep sqlite
libsqlite3.so.0 (libc6,x86-64) => /usr/lib/libsqlite3.so.0
libsqlite3.so.0 (libc6,x86-64) => /usr/lib64/libsqlite3.so.0
libsqlite3.so (libc6,x86-64) => /usr/lib/libsqlite3.so
libsqlite3.so (libc6,x86-64) => /usr/lib64/libsqlite3.so
Sqlite 3.1.3 exists since Feb 19 2005, current release is 3.3.4. Why doesn't php support it? sqlite 2.x and sqlite 3.x have a different database format, so they are not compatible. All functions are prefixed with sqlite3, e.g. sqlite3_open instead of sqlite_open.
Is someone working on a --with-sqlite3 option?
Regards
Marten