Sqlite3 and glibc error


I updated sqlite3 to verse 5.1.5 due to a security alert in the version I was running.

However, it seems that this version isn’t loading in glitch.

8:41 AM
  return process.dlopen(module, path.toNamespacedPath(filename));
8:41 AM
8:41 AM
8:41 AM
Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /rbd/pnpm-volume/ecc730a7-aa2f-4d98-8d0b-e94c52ab6455/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node)

Are there any tricks for installing sqlite3?

The project is - Glitch :・゚✧

1 Like

You need to update the Glibc version to the one that corresponds with which version of SQLite you’re running.

And how do I do that in Glitch? (I couldn’t find anything in the forums about glibc.)

we can’t, we’d need superuser permissions to upgrade the OS.

I’ve solved the problem—due to an incompatibility with glibc versions, sqlite needs to be built from source. (The binary doesn’t work with older versions of glibc—see sqlite3: Versions | Openbase)

Running npm install --build-from-source in the terminal has got things working again.

Found the answer


This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.