Skip to content

Feature: Alpine / musl libc support (prebuilt binaries) #280

Description

@capybarahero

I'm getting the following issue when trying to instal node-av on alpine (musl):

Could not load the node-av native binding for linux-arm64.
Error loading shared library ld-linux-aarch64.so.1: No such file or directory

My LLM says that there are two root causes:

  1. @seydx/node-av-linux-arm64 has no libc field in package.json, so npm installs the glibc binary on musl systems instead of skipping it.
  2. binding.js builds the package name from ${platform}-${arch} with no musl check, so it always resolves to the glibc package.

However, I am unsure whether this is correct.
Could you please advise? What is the best way to use node-av with Alpine as a Docker image?

Thanks!

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions