Error: Failed to load external module @duckdb/node-api: Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /vercel/path0/node_modules/@duckdb/node-bindings-linux-x64/duckdb.node)
Looks like the latest version of @duckdb/node-api requires this library
Hi @alfiejones, our team has acknowledged the issue but it requires a more thorough review and work from a wider team so can’t share any timelines yet. Rest assured, I’ll update this thread when I have any news.
Hi @alfiejones, it appears that duckdb is compiling the pre-compiled version on to the new. Ideally duckdb compiles the binary on an older version of glibc to ensure compatibility. You can probably solve this by pinning to an older version if that’s an option. Otherwise you could potentially build the package from source. Not great, but would move them past this.
I think it’a also worth raising this with the DuckDB team as this will affect anyone trying to run on Lambda.
PS: for some obscure reason duckdb was already working but through the page router (not the app router) so I guess vercel uses different images when deploying.