Skip to content

session-manager-plugin incorrect arch for arm64 #60

Open
@Prophecy67

Description

@Prophecy67

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions