Building unbound as fat on M1 mac

Jaap Akkerhuis jaap at NLnetLabs.nl
Sun Nov 7 19:15:50 UTC 2021


 Eoin Norris via Unbound-users writes:

 > Hi there,
 >
 > Any suggestions on building a FAT binary for unbound. Running this 
 > produces a ARM only
 >
 > ./configure --with-ssl=/opt/homebrew/opt/openssl at 3/
 > --with-libexpat=/opt/homebrew/opt/expat prefix~/Projects/unbound_clean/output & make & make install
 >
 > Anyway that works and builds but it doesn't seem to build FAT. I
 > am not on the latest builds, and I wonder if that has been fixed.

With FAT binary, I assume you mean an universal binary. according to
https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
you need to build both binaries and then comnime them using a tool, lipo,
to combine the two binaries into an universal one.

	jaap


More information about the Unbound-users mailing list