When I try to configure asterisk to use sqlite, I get this error:

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

Any idea how to fix it? Yes I know. Install Sqlite. I’m just not sure why and I can’t find any help for it.