On Oct 16, 2016, at 12:45 AM, jungle Boogie <jungleboog...@gmail.com> wrote:
> I just re-installed freebsd 11 on a machine of mine and as usual, I
> build sqlite from source. However, I see this:
> sqlite3/src/shell.c:66:11: fatal error: 'readline/readline.h' file not found

Did you ./configure after the upgrade?  If not, do so.

Readline is one of those contentious issues because it’s licensed under the 
full-strength GPL, rather than the LGPL.  GPL partisans will tell you that the 
widespread dependence on Readline has forced software to GPL or LGPL where that 
otherwise wouldn’t have happened, so that’s a Good Thing™ in their book.

The other side of the coin is that all this did was force the creation of 
libedit, which the BSDs have all adopted, and which is spreading around the 
world now to counter the taint of Readline. :)


SQLite (and Fossil) supports both, and will use the first one it finds, 
preferring Readline if both are installed.

This is why reconfiguring can help.  If a prior configure found Readline but 
it’s gone now, reconfiguring may find libedit instead.
sqlite-users mailing list

Reply via email to