On 8/30/18, Klaus Maas <[email protected]> wrote:
> Same issues on Xubuntu 16.04 and 18.04
>
> US international keyboard layout
>
> Actually 2 questions:
>
> 1) The precompiled binary for Linux of sqlite3  does not run, but
> sqldiff and sqlite3_analyzer do.
> ./sqlite3: error while loading shared libraries: libz.so.1: cannot open
> shared object file: No such file or directory
> What steps can I take to provide the missing library?

You have a desktop linux machine on which libz is not installed?  I
didn't even know that was possible.

What flavor of linux are you running?


>
> 2) When following the compile instructions on the website I get an
> executable sqlite3, however:
>
> Letters, numbers work fine.
>
> When pressing arrow keys, pgup, pgdwn there key scan codes appear in the
> terminal.
>
> ^[[A^[[B for up-arrow and down-arrow.
>
> How do I fix that?

Run configure using either --enable-readline or --enable-editline,
depending on which library you have installed.  Or if you are
compiling manually, add -DHAVE_READLINE or -DHAVE_EDITLINE to the
compiler command-line, and then add the appropriate libraries to the
end.

But if you don't have libz on your system, probably you don't have
readline or editline either.

Again, what Linux distro is this?

-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to