I am using Parallels with their stock VM: "Ubuntu 24.04 (with Rosetta support)". I'm running this on an M1 Mac. This Ubuntu 24.04 is aarch64.
My problem is trying to get an emulated amd64 binary with dynamically-linked binaries to work. I think maybe I don't have something configured properly to allow amd64 binaries to find amd64 shared libraries.
Statically-linked binaries that are amd64 already work on this VM.
For the binary that uses shared libraries, I've eliminated all warnings about missing libraries by installing the amd64 versions. However, now I'm left with the following error:
> bin/my_binary
ld: unrecognised emulation mode: elf_x86_64
Supported emulations: aarch64linux aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi
Is ld something I need to configure to work with amd64? Why aren't there amd64 emulation modes available?
thanks!