How to build on M1 chip Mac? #404
Replies: 2 comments 2 replies
-
Right after that text it tells you what configure options to use if you want to choose to skip those features. If you instead want to include those features (which is to be preferred), install those missing libraries: https://download.samba.org/pub/rsync/INSTALL The opening text talks about the libs, but for a crib sheet, scroll down to the macOS brew instructions. |
Beta Was this translation helpful? Give feedback.
-
Give the macOS CI rules a look and see if you see anything. That runs fine on an x86_64. I think it runs as root. Your openssl error looks like it's finding LibreSSL instead of openssl, so the search order isn't working. The only arm macOS I have access to doesn't have brew on it, so I just download the various tar files (for lz4, openssl, xxHash, and zstd) along with installing python3's commonmark via -mpip. With the tars extracted they build quite easily. I then put the .h files into an "include" dir and the .a files in a "lib" dir (both in the parent dir of my rsync dir):
And then run configure like this: CFLAGS='-I../include' LDFLAGS='-L../lib' ./configure I managed to add macOS 12.6 on arm64 to the available binaries, which may help you: https://download.samba.org/pub/rsync/binaries/macos-12.6-arm64/ |
Beta Was this translation helpful? Give feedback.
-
I used following command to build, not familiar with c/c++, trying to add include path to the compiler.
But still failed with following errors:
Beta Was this translation helpful? Give feedback.
All reactions