Skip to content

/usr/bin/node: '/usr/bin/node' is not an ELF executable for ARM #27925

@lal12

Description

@lal12

I cross compiled NodeJS for ARM Linux, and it seems to work flawlessly. Except it prints the error message /usr/bin/node: '/usr/bin/node' is not an ELF executable for ARM. It only prints it when actually executing something, e.g. node --version works fine, without an error message.

I ran strace node dummy-script.js and could see that NodeJS does some kind of fork then opens itself (/usr/bin/node) and afterwards is printing the mentioned error, but afterwards it keeps running and seems to work flawlessly. I guess node tries to do some kind of self exec?

Any ideas on that? Or maybe a hint where the code with the described behaviour can be found, yet I could not find it myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    armIssues and PRs related to the ARM platform.invalidIssues and PRs that are invalid.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions