JohnnyCurran
Hi, I cannot install erlang 27.2.4 with asdf.
I have tried dozens of variations of KERL_CONFIGURE_OPTIONS.
I have openssl@3 installed from homebrew.
I removed and re-installed it, and no dice.
MacOS Sequoia. 15.3.2
Here is the latest log:
$ KERL_CONFIGURE_OPTIONS="--without-javac --with-ssl=$(brew --prefix openssl@3)" asdf install erlang 27.2.4
[asdf-erlang] ⚠️ Warning: fop is optional and not installed. Please install it using 'brew install fop'.
[asdf-erlang] ⚠️ Warning: unixodbc is optional and not installed. Please install it using 'brew install unixodbc'.
[asdf-erlang] ⚠️ Warning: openjdk is optional and not installed. Please install it using 'brew install openjdk'.
[asdf-erlang] ⚠️ Warning: wxmac is optional and not installed. You can install it using 'brew install --build-from-source wxmac'.
[asdf-erlang] ⚠️ Note: wxmac is required for building Erlang/OTP with a working :observer
[asdf-erlang] 🛟 Added unixodbc to KERL_CONFIGURE_OPTIONS: --with-odbc=/opt/homebrew/opt/unixodbc
[asdf-erlang] 🛟 No CC found. Setting CC to: /usr/bin/clang -I/opt/homebrew/opt/unixodbc/include
[asdf-erlang] 🛟 Added /opt/homebrew/opt/unixodbc/lib to LDFLAGS env var
[asdf-erlang] 🛟 OpenJDK has been added to PATH for this terminal session: /opt/homebrew/opt/openjdk/bin
[asdf-erlang] Please ensure this is included in your shell's dot files (.zshrc, .bashrc, etc.)
[asdf-erlang] 📦 Building with KERL_CONFIGURE_OPTIONS=--without-javac --with-ssl=/opt/homebrew/opt/openssl@3 --with-odbc=/opt/homebrew/opt/unixodbc
[asdf-erlang] ❄️ No kerl installation to cleanup for asdf_27.2.4
[asdf-erlang] ❄️ No kerl build to cleanup for asdf_27.2.4
Extracting source code for normal build...
Building (normal) Erlang/OTP 27.2.4 (asdf_27.2.4); please wait...
Initializing (build) log file at /Users/johnny/.asdf/plugins/erlang/kerl-home/builds/asdf_27.2.4/otp_build_27.2.4.log.
ERROR: configure failed.
checking for linker flags for loadable drivers... -m64 -bundle -bundle_loader /Users/johnny/.asdf/plugins/erlang/kerl-home/builds/asdf_27.2.4/otp_src_27.2.4/bin/x86_64-apple-darwin24.3.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 how to run the C preprocessor... /usr/bin/clang -I/opt/homebrew/opt/unixodbc/include -E
checking for egrep -e... /usr/bin/grep -E
checking for OpenSSL header in /opt/homebrew/opt/openssl@3... yes
checking for OpenSSL in /opt/homebrew/opt/openssl@3... configure: error: neither static nor dynamic crypto library found in /opt/homebrew/opt/openssl@3
ERROR: /Users/johnny/.asdf/plugins/erlang/kerl-home/builds/asdf_27.2.4/otp_src_27.2.4/lib/crypto/configure failed!
Please see /Users/johnny/.asdf/plugins/erlang/kerl-home/builds/asdf_27.2.4/otp_build_27.2.4.log for full details.
Auto cleaning all artifacts except the log file...
(use KERL_AUTOCLEAN=0 to keep build on failure, if desired)
Cleaning up compilation products for 'asdf_27.2.4' under:
- /Users/johnny/.asdf/plugins/erlang/kerl-home/builds...
- /Users/johnny/.asdf/downloads/erlang/27.2.4...
... done.
Thank you for your help ![]()
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 8- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
D4no0
What happens if you don’t pass the
--with-sslflag? Do you get the same error?JohnnyCurran
Yes
Here’s the output:
D4no0
Is your mac with a M chip?(ARM architecture) If yes, check that your terminal is not using rosetta, that can be potentially a problem as you might have a mismatch between the architecture of binaries.
I’ve just built successfully the version you mentioned on my air m1, without any custom kerl flags, it just works.
JohnnyCurran
I have before, too, and something went haywire.
arch returns
arm64. Terminal is not using Rosettasysctl -n sysctl.proc_translatedreturns 0JohnnyCurran
My linker is looking for x86_64:
So that’s an issue. How do I solve that?
D4no0
That too, but this is also a issue:
It might be some linking error, check the
/opt/homebrew/opt/folder for presence ofopenssl@3, it might be possible that you haveopenssl@3.3or something like that, I have multiple 3.x versions present there.Also ensure that the following folders are present inside of openssl installation: bin, share, include, lib.
PS: To rule out any other potential errors, you can actually disable building of OTP libraries that require openssl by passing the flag
--without-ssl, if that works then the problem is strictly related to openssl linking.wojtekmach
In the meantime you can also check GitHub - michallepicki/asdf-erlang-prebuilt-macos: Erlang plugin for asdf version manager, using Erlang builds by erlef/otp_builds for macOS · GitHub.
See Support for precompiled binaries? · Issue #165 · asdf-vm/asdf-erlang · GitHub for more information.
JohnnyCurran
What a trip.
asdf infowas reporting I was on x86_64. So I finally found out that/usr/local/bin/bashwas x86_64.I ran
brew install bashand now I have the arm64 version. (Even though for some reason my interactive bash wasarm64)erlang 27.4.2succesfully built.Now everything just works
Thank you both for your help