64-bit precompiled Linux binaries
Would it be possible to provide 64-bit precompiled Linux binaries on the SQLite site? I'm using SQLite in an environment where only 64-bit programs can run (no 32-bit glibc is installed) and I don't have root access, so I can't use the 32-bit builds nor can I install SQLite using the OS package manager.
I don't have root access, so I can't use the 32-bit builds nor can I install SQLite using the OS package manager.
You don't need root access to build and install it under your home directory. i do have root access on all of my machines but have never once used it to install fossil (which is installed on all of my machines): that's what
~/lib, etc. are for.
For sqlite, the process is something like:
$ tar xzf the-sqlite3-sources.tar.gz $ cd the-sqlite3-dir $ ./configure --prefix=$HOME $ make $ make install
That will install everything under directories in the "prefix", e.g. the binary will go under
You don't need root access to build and install it under your home directory
Right... What I meant is that I can't install 32-bit glibc (to get the 32-bit builds running) or the 64-bit Debian/CentOS SQLite package.
You're right that I could compile it myself in my home directory, however since the site has 32-bit builds today, I thought it'd be useful to also include 64-bit builds on the site given a large majority of servers are moving towards 64-bit, rather than having to compile it myself.
Just step on this issue too, VPS I tried to run official binary get failed, and installing on limited resources i386 is out of question, so it would be pretty good if there would be official x64 build.
Thank in advance
Don't hold your hopes up because there will never be an official x64 sqlite shell release, not now and not in 50 years time.
There will "only" be a x64 fossil binary release - the scm tool designed specifically to manage sqlite source code
which has a sqlite shell builtin that you can use:
fossil sql --no-repository. It's as close to official as you will get.
Go get it at https://fossil-scm.org/home/uv/download.html
Don't hold your hopes up because there will never be an official x64 sqlite shell release
I didn't "hold my hope" and created simple
docker container that compiling static amd64
sqlite3 binary for Linux, so no need to wait 50 years more. Anyone who wanted/needed it, can download from github here. I would try to update it periodically on new releases, but I think it would be great for everyone if https://sqlite.org will use my
docker solution and post compiled amd64 for Linux here, - on official web site.
[...] there will never be an official x64 sqlite shell release [...]
Really? Did I miss a post? Absence of response from Richard does not mean never.
For the life of me, I don't see why a 64-bit shell would not be provided, eventually.
Just yesterday I was surprised to read a 2019 embedded software survey
pegging 64-bit CPUs at 15% in that market, and most desktop CPUs have
been 64-bit for years now.
Did I miss a post?
Me too, can't understand the reason to provide i386 compiled version only. Most of VPS doesn't have i386 subsystem by default and usually such are limited in space. That's why I created docker that running latest Alpine Linux and compile it statically against musl instead of relaying in libc that are kind of a problem to compile with. So, one can either compile it yourself using my docker solution and/or get binary that is 0.8Mb in size and that can run on any Linux based OS without any dependency. I hope it would help someone.