I am getting this when I do asdf erlang install 24.0
:
Configure failed.
checking for compiler flags for loadable drivers... -Werror=undef -Werror=implicit -Werror=return-type -Wdeclaration-after-statement -Wall -Wstrict-prototypes -Wmissing-prototypes -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -fno-common -g -O2 -fPIC -fno-common
checking for linker for loadable drivers... gcc
checking for linker flags for loadable drivers... -m64 -bundle -bundle_loader /Users/dimi/.asdf/plugins/erlang/kerl-home/builds/asdf_24.0/otp_src_24.0/bin/x86_64-apple-darwin20.4.0/beam.smp
checking for 'runtime library path' linker flag... not found
checking for multiarch directory... not found
checking size of void *... (cached) 8
checking for static zlib... no
checking for OpenSSL header in /usr/local/opt/openssl@1.1... yes
checking for OpenSSL in /usr/local/opt/openssl@1.1... configure: error: neither static nor dynamic crypto library found in /usr/local/opt/openssl@1.1
ERROR: /Users/dimi/.asdf/plugins/erlang/kerl-home/builds/asdf_24.0/otp_src_24.0/lib/crypto/configure failed!
Latest macOS and I am pretty sure I have libraries here: /usr/local/opt/openssl@1.1/lib
(notice the trailing /lib
) so maybe the script is looking in the wrong place?