duckdb-node icon indicating copy to clipboard operation
duckdb-node copied to clipboard

Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found

Open michaelwallabi opened this issue 9 months ago • 0 comments

I'm attempting to deploy duckdb-node 1.2.0 within a lambda running on Vercel and see the following error:

Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /vercel/path0/node_modules/duckdb/lib/binding/duckdb.node)
    at Module._extensions..node (node:internal/modules/cjs/loader:1586:18)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Module._load (node:internal/modules/cjs/loader:1104:12)
    at Module.require (node:internal/modules/cjs/loader:1311:19)
    at mod.require (/vercel/path0/node_modules/next/dist/server/require-hook.js:65:28)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous> (/vercel/path0/node_modules/duckdb/lib/duckdb-binding.js:4:15)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32) {
  code: 'ERR_DLOPEN_FAILED'
}

I'm running on Node 20 which uses Amazon Linux 2023 and glibc 2.34. Is this version of LIBC not supported anymore?

This is essentially the same issue as https://github.com/duckdb/duckdb-node/issues/15 but for a new version of DuckDB and GLIBC.

michaelwallabi avatar Mar 18 '25 15:03 michaelwallabi