[Home]

Summary:ASTERISK-08776: configure --with sqlite fails on FC6/RHEL4/CentOS4
Reporter:puzzled (puzzled)Labels:
Date Opened:2007-02-11 11:22:34.000-0600Date Closed:2007-02-16 11:15:42.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:configure --with sqlite fails on FC6/RHEL4/CentOS4 with the appropriate packages installed.

$ rpm -qa | grep sqlite
sqlite-3.3.6-2.i386
sqlite-devel-3.3.6-2.i386

Looking at configure the naming of the lib and the header file may have something to do with it.

$ rpm -ql sqlite
/usr/bin/sqlite3
/usr/lib/libsqlite3.so.0
/usr/lib/libsqlite3.so.0.8.6

$ rpm -ql sqlite-devel
/usr/include/sqlite3.h
/usr/lib/libsqlite3.so
/usr/lib/pkgconfig/sqlite3.pc
[snip]
Comments:By: Jason Parker (jparker) 2007-02-15 17:15:28.000-0600

Fails how?  Can you provide the failure output?

By: puzzled (puzzled) 2007-02-15 19:43:23.000-0600

checking for sqlite_exec in -lsqlite... no
configure: ***
configure: *** The SQLite installation on this system appears to be broken.
configure: *** Either correct the installation, or run configure
configure: *** without explicitly specifying --with-sqlite

By: Jason Parker (jparker) 2007-02-16 11:15:41.000-0600

This is happening because we don't currently support sqlite3.  You can use req_sqlite3 from asterisk-addons, and there are several more feature requests/patches on mantis for sqlite3 support.

Closing.