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

session-manager-plugin incorrect arch for arm64 #60

Open
Prophecy67 opened this issue Aug 28, 2023 · 0 comments
Open

session-manager-plugin incorrect arch for arm64 #60

Prophecy67 opened this issue Aug 28, 2023 · 0 comments

Comments

@Prophecy67
Copy link

Hi,

I am trying to use the gossm package on an arm64 machine, but I am getting the error:

[err][internal.CallProcess:575] fork/exec /.gossm/session-manager-plugin: bad CPU type in executable

When checking the file in my homedir, it is indeed a x86_64 plugin.

Checking the file in the assets directory, it is also an x86_64.

assets/plugin/darwin_arm64
❯ file session-manager-plugin 
session-manager-plugin: Mach-O 64-bit executable x86_64

Overwriting this with the AWS installed session-manager-plugin in the directory and installing gossm that way solves the issue.

Solution: Add proper ARM64 Arch plugin to the assets.

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

1 participant