From 363bfef11f104577e4342d02252ae9e5321bdfcd Mon Sep 17 00:00:00 2001 From: Zach Mullen Date: Mon, 20 Oct 2025 15:56:19 -0400 Subject: [PATCH] Fix CPU ISA detection logic in standalone install script 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 --- install-standalone.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-standalone.sh b/install-standalone.sh index cb1bf81a7c..5dbe4f4237 100644 --- a/install-standalone.sh +++ b/install-standalone.sh @@ -29,10 +29,10 @@ ARCH="\$(uname -m)" if [ "\$ARCH" == "x86_64" ]; then ARCH=x64 + elif [[ "\$ARCH" == "aarch64" || "\$ARCH" == "arm64" ]]; then + ARCH=arm64 elif [[ "\$ARCH" == aarch* ]]; then ARCH=arm - elif [[ "\$ARCH" == "arm64" ]]; then - ARCH=arm64 else echoerr "unsupported arch: \$ARCH" exit 1