From 3bc974be67b7b7dcd36c52f6c200070babce6df0 Mon Sep 17 00:00:00 2001 From: Brett Jia Date: Fri, 26 Jan 2024 23:16:45 -0500 Subject: [PATCH] try adding libm --- scripts/qemu_aarch64_interpreter | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/qemu_aarch64_interpreter b/scripts/qemu_aarch64_interpreter index f37f413d..c15b01d5 100755 --- a/scripts/qemu_aarch64_interpreter +++ b/scripts/qemu_aarch64_interpreter @@ -5,6 +5,7 @@ # we need to ensure that the binary uses the correct libc # so first patch the program patchelf --add-rpath /usr/aarch64-linux-gnu/lib/ $1 +patchelf --add-needed libm.so.6 $1 # run the interpreter qemu-aarch64-static "$@" \ No newline at end of file