無法執行elastix二進位文件

無法執行elastix二進位文件

我正在嘗試在終端機中運行二進位檔案(./elastix),但出現以下錯誤

/Users/tony/Desktop/elastix-4.9/bin/elastix: cannot execute binary file

當我輸入命令檔 elastix 時,我得到

elastix: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/l, for GNU/Linux 2.6.32, BuildID[sha1]=d13c10b0fe409ac66c2733ea6efb1cfb175b4070, not stripped

當我輸入 uname 時,-m我得到:

x86_64

所以看起來我的系統和檔案是相容的,這就是我感到困惑的原因。也許這與not striped

答案1

從你的/Users/tony情況來看,我猜你正在嘗試在 Mac 上執行此操作。您擁有的二進位檔案是 Linux 二進位文件,無法在 macOS 系統上運作。

您需要找到 macOS 二進位文件,或在 Linux VM 中執行 Linux 二進位文件,或建置您自己的 macOS 二進位檔案。

相關內容