Trying to install Erlang 23.2.5 on a new M1 (Apple silicon) Macbook Air running latest Big Sur OS. I’ve tried through asdf
and direct build from source tarball and get the same issue:
29 warnings and 5 errors generated.
make[4]: *** [../priv/obj/arm-apple-darwin20.3.0/pkey.o] Error 1
make[3]: *** [opt] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
The first obstacle I hit was missing openssl so I installed that from source:
hassan@Hassans-MacBook-Air openssl % cat VERSION.dat
MAJOR=3
MINOR=0
PATCH=0
PRE_RELEASE_TAG=alpha12-dev
BUILD_METADATA=
RELEASE_DATE=""
SHLIB_VERSION=3
Does anyone know if Erlang requires a specific OpenSSL version? My google-fu is failing me.
Any other suggestions to troubleshoot this appreciated!