You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
No longer working on Debian 11 because of glibc version #1663
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /builds/.../node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node)
Steps to Reproduce
node-sqlite3 stopped working withe the current 5.1.3 release on latest debian stable (11-bullseye) and Ubuntu 20.04 (focal-fossa),
both only have glibc 2.31 installed (but both are stable/LTS and still supported for a long time)
Not sure if this is intended? The ci build uses Ubuntu 22 which has a newer glibc version
changed the title [-]No longer worker on Debian 11 because of glibc version[/-][+]No longer working on Debian 11 because of glibc version[/+]on Dec 12, 2022
Can confirm, same issue for me after upgrading to 5.1.3
If this GLIBC bump is intended and not a bug, it would be really helpful if such changes would not be done in a patch version of sqlite3. I would have expected at last a minor release here.
I have the same problem with official docker images.
Tested on image node:16 and node:16-bullseye-slim.
It worked fine with sqlite3 version 5.1.2 but version 5.1.3 throws the following error:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tests/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node)
Can confirm, same issue for me after upgrading to 5.1.3
If this GLIBC bump is intended and not a bug, it would be really helpful if such changes would not be done in a patch version of sqlite3. I would have expected at last a minor release here.
Hi, thanks for fixing. It looks like I'm getting hit by this in my project, but I'm not sure exactly how. I am pinned to an older version. This is what my yarn.lock has:
sqlite3@^5.0.2:
version "5.0.8"
resolved "https://registry.yarnpkg.com/sqlite3/-/sqlite3-5.0.8.tgz#b4b7eab7156debec80866ef492e01165b4688272"
integrity sha512-f2ACsbSyb2D1qFFcqIXPfFscLtPVOWJr5GmUzYxf4W+0qelu5MWrR+FAQE1d5IUArEltBrzSDxDORG8P/IkqyQ==
dependencies:
"@mapbox/node-pre-gyp" "^1.0.0"
node-addon-api "^4.2.0"
tar "^6.1.11"
optionalDependencies:
node-gyp "8.x"
I installed at about 14:35 GMT. Then I got this when trying to run on Ubuntu 18.04:
Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
I'm thinking this will resolve soon as everything propagates through the pipelines, but I'm confused as to how I ended up getting a glibc 2.33 binary in the first place when I supposedly downloaded version 5.0.8.
OK it looks like I likely have some kind of problem with a different version of sqlite3 being installed by some other package manager - I think the problem is on my end.
The issue should now be fixed in v5.1.4. Apologies for that - it seems ubuntu-latest in GHA updated to Ubuntu 22.04 since the last release of node-sqlite3, and I missed it during the prebuild steps.
Issue Summary
Steps to Reproduce
node-sqlite3 stopped working withe the current 5.1.3 release on latest debian stable (11-bullseye) and Ubuntu 20.04 (focal-fossa),
both only have glibc 2.31 installed (but both are stable/LTS and still supported for a long time)
Not sure if this is intended? The ci build uses Ubuntu 22 which has a newer glibc version
Version
5.1.3
Node.js Version
18.12.1
How did you install the library?
npm on Debian 11