Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
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

Description

@faulpeltz

Issue Summary

/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

Version

5.1.3

Node.js Version

18.12.1

How did you install the library?

npm on Debian 11

Activity

  1. 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
  2. chgeo commented on Dec 12, 2022

    @chgeo

    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.

  3. Hiryus commented on Dec 12, 2022

    @Hiryus

    Hello,

    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)
    
  4. svetbg commented on Dec 12, 2022

    @svetbg

    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.

    +1

  5. daniellockyer commented on Dec 12, 2022

    @daniellockyer
    Contributor

    Hi all!

    I am aware of this issue - currently testing CI on Ubuntu 20 and then I'll do another release soon 🙂

  6. maxballenger commented on Dec 12, 2022

    @maxballenger

    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.

    Thanks!

  7. maxballenger commented on Dec 12, 2022

    @maxballenger

    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.

  8. daniellockyer commented on Dec 13, 2022

    @daniellockyer
    Contributor

    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.

  9. Hiryus commented on Dec 13, 2022

    @Hiryus

    I confirm it works. 👏
    Thank you for your reactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions