Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch away from alpine linux base image #436

Merged
merged 1 commit into from
Feb 25, 2025
Merged

Conversation

iandees
Copy link
Member

@iandees iandees commented Feb 25, 2025

Follows #394

My attempt at a fix in #435 failed. DuckDB is still trying to load bindings and fails in Alpine linux:

Error: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /usr/local/src/batch/node_modules/@duckdb/node-bindings-linux-x64/libduckdb.so)
    at Object..node (node:internal/modules/cjs/loader:1732:18)
    at Module.load (node:internal/modules/cjs/loader:1289:32)
    at Function._load (node:internal/modules/cjs/loader:1108:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.require (node:internal/modules/cjs/loader:1311:12)
    at require (node:internal/modules/helpers:136:16)
    at getNativeNodeBinding (/usr/local/src/batch/node_modules/@duckdb/node-bindings/duckdb.js:9:20)
    at Object.<anonymous> (/usr/local/src/batch/node_modules/@duckdb/node-bindings/duckdb.js:24:18)
    at Module._compile (node:internal/modules/cjs/loader:1554:14) {
  code: 'ERR_DLOPEN_FAILED'

So I'm going to try a non-Alpine linux variant of the Node Docker image.

@iandees iandees merged commit 1d2ccda into master Feb 25, 2025
3 checks passed
@iandees iandees deleted the switch-from-alpine branch February 25, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant