ethereum / solidity

Solidity, the Smart Contract Programming Language
https://soliditylang.org
GNU General Public License v3.0
22.99k stars 5.69k forks source link

Solc Binary not working for Linux arm64 machines #13887

Closed NickSneo closed 1 year ago

NickSneo commented 1 year ago

Description

Facing error when using solc bin on linux arm64. Using Linux arm64 as VM on MacOS (M2 chip) Error - -bash: ./solc-static-linux: cannot execute binary file: Exec format error Seems it is architecture problem, bin not supported on linux arm64

Is there a workaround to fix this? or are we going to release bin for arm64 too?

Environment

Steps to Reproduce

download solc bin and run. ./solc --help

cameel commented 1 year ago

Yeah, this is an x86 binary, it won't work on ARM. We do not provide official ARM builds yet, we're planning to do so in the future. For now your only option is to build from source. If you're on macOS, try installing via Homebrew.

Closing as a duplicate of #11351 or #12291.