Score:0

Using libraries made for amd64 on arm64

sb flag

For a class, we have to use a c library that was only ever compiled for amd64, and is now so old some of its dependencies don’t even exist anymore (aka impossible to recompile)

Is there a way to build and run a project using this library through an emulator, without having to emulate the entire OS along with it ? The only computer I have is an M1 MacBook Air, which has an arm64 processor.

The library in question is MLV

muru avatar
us flag
M1 Macs have Rosetta for running amd64 binaries. Are you running an Ubuntu VM?
in flag
You *may* be able to do this via Docker, as that layer will work with Rosetta to a point. Be sure to have all of the Xcode tools installed beforehand, though.
user535733 avatar
cn flag
QEMU works on many ARM hosts, and can create amd64 VM guests.
user535733 avatar
cn flag
Multipass runs on M1. https://multipass.run/docs/installing-on-macos
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.