Skip to content

Library used on Linux image not found on M1 ARM64 image #3239

Closed
@juliencharrel

Description

@juliencharrel

Environment

  • Platform: Mac M1 ARM
  • Docker Version: 20.10.3, build 48d30b5
  • Node.js Version: v15.5.1
  • Image Tag: FROM node:15 (not usre exactly which image is then pulled on Docker preview M1)

Expected Behavior

I am using a built with dependencies Rust binary that works perfectly on images on x86 architecture with the exact same parameters. When launching that binary on the same node:15 image but for Macbook M1, I should get it to work the same way.

Current Behavior

When trying to run my binary in my docker node:15 image on MacbookM1, I get the following error:

qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Possible Solution

I have no idea, but the lib in question clearly is not here on node:15 ARM64, but is present on a x86_64 node:15 image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions