Properly enable readline, as below: ifeq ($(BR2_PACKAGE_SQLITE_READLINE),y) SQLITE_DEPENDENCIES += ncurses readline - SQLITE_CONF_OPTS += --with-readline-inc="-I$(STAGING_DIR)/usr/include" + SQLITE_CONF_OPTS += --enable-readline else SQLITE_CONF_OPTS += --disable-readline endif
Additionally, while you are checking out this readline fix, recently sqlite changed it's default behavior wrt the sqlite CLI tool, previously it was dynamically linked with libsqlite3.so.0 by default, now it is statically linked by default. The old behavior can be signaled with: --disable-static-shell Either add the configure option by default or possibly: ifeq ($(BR2_STATIC_LIBS),y) SQLITE_CONF_OPTS += --enable-dynamic-extensions=no + else + SQLITE_CONF_OPTS += --disable-static-shell endif
Please test http://patchwork.ozlabs.org/patch/572078/ http://patchwork.ozlabs.org/patch/572080/
Works in my testing.