Getting ssl error when running mix release

Hi,

I’m getting the following error when running mix release: ** (Mix) Could not load ssl.app. Reason: :enoent

I’m running on Fedora 42 if that helps?

Richard

Sharing Erlang + Elixir versions will help, as will telling us if you have OpenSSL’s libraries installed as well.

Also running on Fedora 42 and encountered this today
No mix.exs changes helped me, but using asdf-managed Erlang/Elixir instead of the system one did:

asdf install erlang 26.2.5
asdf install elixir 1.17.3-otp-26
asdf local erlang 26.2.5
asdf local elixir 1.17.3-otp-26

This is with the versions I use, plug in whatever version you need

Same thing here, no ssl on Fedora 43 when running mix release

iex(1)> Mix.Tasks.Release.run([])
** (Mix.Error) Could not load ssl.app. Reason: :enoent

elixir -v

Erlang/OTP 26 [erts-14.2.5.14 [source] [64-bit] [smp:12:12 [ds:12:12:10] [async-threads:1 [jit:ns]

Elixir 1.19.5 (compiled with Erlang/OTP 26)

dnf list --installed | grep -e ‘erlang’ -e ‘elixir’

elixir.x86_64                                      1.19.5-4.fc43                        updates
erlang.x86_64                                      26.2.5.20-1.fc43                     
erlang-asn1.x86_64                                 26.2.5.20-1.fc43                     
erlang-common_test.x86_64                          26.2.5.20-1.fc43                     
erlang-compiler.x86_64                             26.2.5.20-1.fc43                     
erlang-crypto.x86_64                               26.2.5.20-1.fc43                     
erlang-debugger.x86_64                             26.2.5.20-1.fc43                     
erlang-dialyzer.x86_64                             26.2.5.20-1.fc43                     
erlang-diameter.x86_64                             26.2.5.20-1.fc43                     
erlang-doc.x86_64                                  26.2.5.20-1.fc43                     
erlang-edoc.x86_64                                 26.2.5.20-1.fc43                     
erlang-eldap.x86_64                                26.2.5.20-1.fc43                     
erlang-erl_docgen.x86_64                           26.2.5.20-1.fc43                     
erlang-erl_interface.x86_64                        26.2.5.20-1.fc43                     
erlang-erts.x86_64                                 26.2.5.20-1.fc43                     
erlang-et.x86_64                                   26.2.5.20-1.fc43                     
erlang-eunit.x86_64                                26.2.5.20-1.fc43                     
erlang-ftp.x86_64                                  26.2.5.20-1.fc43                     
erlang-inets.x86_64                                26.2.5.20-1.fc43                     
erlang-jinterface.x86_64                           26.2.5.20-1.fc43                     
erlang-kernel.x86_64                               26.2.5.20-1.fc43                     
erlang-megaco.x86_64                               26.2.5.20-1.fc43                     
erlang-mnesia.x86_64                               26.2.5.20-1.fc43                     
erlang-observer.x86_64                             26.2.5.20-1.fc43                     
erlang-odbc.x86_64                                 26.2.5.20-1.fc43                     
erlang-os_mon.x86_64                               26.2.5.20-1.fc43                     
erlang-parsetools.x86_64                           26.2.5.20-1.fc43                     
erlang-public_key.x86_64                           26.2.5.20-1.fc43                     
erlang-reltool.x86_64                              26.2.5.20-1.fc43                     
erlang-runtime_tools.x86_64                        26.2.5.20-1.fc43                     
erlang-sasl.x86_64                                 26.2.5.20-1.fc43                     
erlang-snmp.x86_64                                 26.2.5.20-1.fc43                     
erlang-src.x86_64                                  26.2.5.20-1.fc43                     
erlang-ssh.x86_64                                  26.2.5.20-1.fc43                     
erlang-ssl.x86_64                                  26.2.5.20-1.fc43                     
erlang-stdlib.x86_64                               26.2.5.20-1.fc43                     
erlang-syntax_tools.x86_64                         26.2.5.20-1.fc43                     
erlang-tftp.x86_64                                 26.2.5.20-1.fc43                     
erlang-tools.x86_64                                26.2.5.20-1.fc43                     
erlang-wx.x86_64                                   26.2.5.20-1.fc43                     
erlang-xmerl.x86_64                                26.2.5.20-1.fc43   

I really really want to avoid asdf, I think I will do a docker build if there’s no other options.