![無法執行elastix二進位文件](https://rvso.com/image/154437/%E7%84%A1%E6%B3%95%E5%9F%B7%E8%A1%8Celastix%E4%BA%8C%E9%80%B2%E4%BD%8D%E6%96%87%E4%BB%B6.png)
我正在嘗試在終端機中運行二進位檔案(./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 二進位檔案。