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

Bug: Error running on Fedora Linux in Docker on Apple ARM silicon #292

Open
joemoore opened this issue Sep 27, 2023 · 4 comments
Open

Bug: Error running on Fedora Linux in Docker on Apple ARM silicon #292

joemoore opened this issue Sep 27, 2023 · 4 comments
Labels

Comments

@joemoore
Copy link

Summary

Installed jwt-linux.tar.gz on Linux running in Docker on an M1 Mac and receive the following error:

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

Steps to reproduce

In Fedora running in Docker on an M1 mac:

$> curl -L -o - https://github.com/mike-engel/jwt-cli/releases/download/6.0.0/jwt-linux.tar.gz | tar -xz -C .
$> jwt
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Expected behavior

No errors.

More details

Docker desktop: 4.17.0 (99724)

Mac info:
M1 Mac
OS X 13.5.2 (22G91)

Linux distro details:

$> cat /etc/os-release
NAME="Fedora Linux"
VERSION="36 (Container Image)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Container Image)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:36"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f36/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=36
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=36
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
SUPPORT_END=2023-05-16
VARIANT="Container Image"
VARIANT_ID=container
@mike-engel
Copy link
Owner

Unfortunately until github provides ARM instances for workflows, this probably isn't something I'll be able to support any time soon reliably. Tracking: actions/runner-images#5631

@hrishikesh-k
Copy link
Contributor

I just switched to an ARM-based Windows device and the JWT CLI doesn't work anymore (via WSL):

-bash: /usr/local/bin/jwt: cannot execute binary file: Exec format error

Here's my distro info:

PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Looks like ARM runners are now supported and macOS universal support was added here: #351. Any chance adding Linux ARM support as well?

@hrishikesh-k
Copy link
Contributor

Maybe this would add the support: #363?

@hrishikesh-k
Copy link
Contributor

Here's the ARM64 Linux build till then (obtained by running cargo build --target=aarch64-unknown-linux-gnu --release locally):

jwt.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants