I want to set up the Internet identity locally on my machine, MacBook Pro 13" with Apple Silicon Chip, but the compilation errors out with:
Error: error: failed to add native library /var/folders/c7/v1x0y5p13sb4h4b19sbv8ds40000gn/T/cargo-installXbPkC0/release/build/wabt-sys-0c5d3f90b9057634/out/build/libwabt.a: file too small to be an archive
did you ever find a solution? I looked in the link you provided. some one made a branch for a fix to get the build to run, but I tried that fix and it didn’t work for me. I’m curious if anyone found a solution to this. I’m currently stalled by this very problem.
Canonical has a tool called Multipass, and since 1.8 it is supported on M1 Macs. You could use that to install ubuntu as a virtual machine on your M1 mac. It even has a feature called Alias that allows you to run specific apps (think terminal) from your mac environment (like parallels used to do). It’s free and made by canonical, the publishers of Ubuntu.
On the heels of Apple’s announcement of a new line of game-changing M1 MacBooks, Canonical is bringing fast and easy Linux to the M1 platform. Multipass, the quickest way to run Linux cross-platform, received an update last week allowing M1 users to run Ubuntu VMs with minimal set-up. Multipass can download and launch a virtual machine image with one command, and developers on M1 can now get running on Linux in as little as 20 seconds.
edit: you’ll have to run the commands with the original build settings first. the build will fail, then you change the settings as I’ve described above, then run the commands again, then it should work.