Skip to content

fix: CPU ISA detection logic in standalone install script#3393

Closed
zachmullen wants to merge 1 commit into
heroku:mainfrom
zachmullen:patch-1
Closed

fix: CPU ISA detection logic in standalone install script#3393
zachmullen wants to merge 1 commit into
heroku:mainfrom
zachmullen:patch-1

Conversation

@zachmullen

Copy link
Copy Markdown

On Linux, uname -m will report aarch64 on 64-bit ARM CPUs. The previous logic in this script matched that against the expression aarch*, causing the script to wrongly select the 32-bit ARM architecture identifier, which gives a runtime error when launching the CLI due to the lack of 32-bit dynamic linker on the system (specifically, the error indicates that ld-linux-armhf.so.3 is missing).

@k80bowman k80bowman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for submitting this PR. I was able to verify that this fix works. I'm going to approve this PR and see if our CI workflow will run. If not, I may have to open a new PR with your fix from my account (attributed to you, of course).

On Linux, `uname -m` will report `aarch64` on 64-bit ARM CPUs. The previous logic in this script matched that against the expression `aarch*`, causing the script to wrongly select the 32-bit ARM architecture identifier, which gives a runtime error when launching the CLI due to the lack of 32-bit dynamic linker on the system (specifically, the error indicates that `ld-linux-armhf.so.3` is missing).

Signed-off-by: Zach Mullen <zach.mullen@kitware.com>
@k80bowman

Copy link
Copy Markdown
Contributor

This change was just merged (as #3501). It will be deployed as part of our scheduled release next week. I'm going to go ahead and close this PR now. Thank you again for submitting this fix!

@k80bowman k80bowman closed this Jan 29, 2026
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

Successfully merging this pull request may close these issues.

2 participants