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

MacOS Arm64 Exec Format Error #134

Open
kferrone opened this issue Sep 25, 2024 · 2 comments
Open

MacOS Arm64 Exec Format Error #134

kferrone opened this issue Sep 25, 2024 · 2 comments

Comments

@kferrone
Copy link

I am on a Mac arm64. I followed arm64 instructions and I still get

cannot execute binary file: Exec format error

Just out of curiosity, I tried with the amd64 instructions, still the same error. How is it even possible that I get the famous wrong architecture error on both?

@valerena
Copy link
Contributor

This depend a lot on what you're invoking and how (and where too). What command are you trying to run?

If you have a zip Lambda function (not a container image function), it's better to use AWS SAM CLI (which uses this Lambda RIE behind the scenes), instead of manually use RIE directly.

@skyzyx
Copy link

skyzyx commented Dec 27, 2024

README instructions are bad. They only compile for Linux (ELF), not macOS (Mach-O).

Running into the same issue while trying to run a Lambda function through Go's debugger. Looks like I'll have to clone, patch some files, then compile locally. :/

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

No branches or pull requests

3 participants