From:             stwitche at fairchildsemi dot com
Operating system: Linux/Red Hat 7
PHP version:      5.0.2
PHP Bug Type:     PHP options/info functions
Bug description:  can't configure with sqlite3 using --with-sqlite=

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 bug report at http://bugs.php.net/?id=30749&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30749&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=30749&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=30749&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30749&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30749&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30749&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30749&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30749&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30749&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30749&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=30749&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=30749&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30749&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30749&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30749&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30749&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30749&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30749&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30749&r=mysqlcfg

Reply via email to