strangelove-ventures / heighliner

Repository of docker images for the node software of Cosmos chains
Apache License 2.0
54 stars 46 forks source link

local build: cannot find -lwasmvm.aarch64 #267

Open cxyzhang0 opened 4 weeks ago

cxyzhang0 commented 4 weeks ago

My go.mod has github.com/CosmWasm/wasmvm v1.2.1. And https://github.com/CosmWasm/wasmvm/releases/download/v1.2.1/libwasmvm_muslc.aarch64.a was downloaded successfully as shown by '/lib/libwasmvm_muslc.a' saved.

But this command

resulted in this error: # github.com/myrepo/myproject/v5/cmd/myd /usr/local/go/pkg/tool/linux_arm64/link: running gcc failed: exit status 1 /usr/lib/gcc/aarch64-alpine-linux-musl/13.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: cannot find -lwasmvm.aarch64: No such file or directory

Of course, make install works fine on Mac M1 machine.

cxyzhang0 commented 4 weeks ago

This is very similar to https://github.com/strangelove-ventures/heighliner/issues/256 with the difference in arm vs amd.