Exec user process caused: exec format error (MBP M1, Parallells, Ubuntu 20.04)
Aregaard opened this issue · 1 comments
Aregaard commented
I followed the instrctions on: https://docs.terra.money/Tutorials/Smart-contracts/Set-up-local-environment.html#install-terra-core-locally
Equipment
HW: Apple Mac Book Pro M1 2020
SW: Ubuntu 20.04 running on Parallells
SW: Docker running on Ubuntu 20.04, which runs on Parallells
Why all the VM? Because I am pretty new to Blockchain development and want a test environment that is foolproof :)
Question: I get a lot of exec errors when I run docker-compose up
. What have I missed?
When I try to install the Terra Core:
usr/bin/ld: skipping incompatible ../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v0.16.2/api/libwasmvm.so when searching for -lwasmvm
/usr/bin/ld: cannot find -lwasmvm
collect2: error: ld returned 1 exit status
make: *** [Makefile:123: install] Error 2
According to the WASMER:
Latest release: 2.1.0
Downloading archive from https://github.com/wasmerio/wasmer/releases/download/2.1.0/wasmer-linux-aarch64.tar.gz
######################################################################## 100.0%
error: Your platform is not yet supported (linux-aarch64).
Please open an issue on the project if you would like to use wasmer in your project: https://github.com/wasmerio/wasmer
My conclusion is: Get a AMD64. Any input on this?
Vritra4 commented
you are right. ubuntu on M1 is arm-based and it is not supported.