-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No usable OpenSSL found #82
Comments
I'm not sure. Do you happen to have OpenSSL installed via some other method? It's possible you have some brew installed versions and one version that was installed manually by something else. Maybe |
Ran into the same thing. Ended up just passing a valid openssl location to the At the end of the day, the KERL_CONFIGURE_OPTIONS line in my .zshrc file looked like this: Also, I forgot to source it, which wasted even more time. |
Thanks for sharing @ddresselhaus. Closing this issue since I don't believe it's due to a bug in asdf-erlang. |
I could not get it to work with openssl 1.0.X, compilation with 1.1.X worked with the snippet of @ddresselhaus
|
This same issue also happens on Ubuntu 18.0.4 Update: this was fixed by doing
|
I fixed this by uninstalling erlang with asdf |
I just spent a few hours troubleshooting this problem until someone else in Slack kindly pointed me to this issue. I'd still consider this a bug since
FWIW, as of today (May 27, 2020), with
|
This worked for me (Erlang/OTP 23.0): |
Thanks @layeddie ! Your post is what finally got me over the hurdle. As well, I suspect that I previously did not install openssh correctly. In case it helps others, I'll give all the commands/changes that I executed on my mac (version 10.15.6):
Interestingly, the brew reinstall output included some tips which seem relevant:
To apply the above, I added the following to my .bashrc:
Then I re-installed Erlang and Elixir, and now all works fine for me:
I became curious: was it only the change to KERL_CONFIGURE_OPTIONS that is important? Or is it also important to follow the instructions from homebrew regarding openssh? To test, I uninstalled Erlang/Elixir again, ran In short, my guess is that when I installed/upgraded openssl with homebrew, I probably ignored the output and did not setup LDFLAGS, CPPFLAGS, and PKG_CONFIG_PATH environment variables correctly. And then when I installed the latest Erlang, it could not find OpenSSL. It appears there are 2 workarounds: 1) install openssl correctly, or 2) use the KERL_CONFIGURE_OPTIONS environment variable. Or do both. :-) |
For me on Ubuntu 18.04 the following worked: |
I just ran into this again upgrading from version
|
Not working with erlang 25 and LibreSSL 3.3.6 on OS X 13.3.1 |
Ran into the same issue on MicroOS w/ a custom-built LibreSSL (installed to export PATH="$HOME/.local/bin:$PATH"
export CPATH="$HOME/.local/include:$CPATH"
export LIBRARY_PATH="$HOME/.local/lib:$LIBRARY_PATH"
export LD_LIBRARY_PATH="$HOME/.local/lib:$LIBRARY_PATH"
export LDFLAGS="-L$HOME/.local/lib $LDFLAGS"
export CPPFLAGS="-I$HOME/.local/include $CPPFLAGS"
export PKG_CONFIG_PATH="$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH" Even with all that, I still needed to use
Basically: if OpenSSL's install prefix ain't in that list, then I don't see any other automated mechanism to pick it up other than forcing it via (I know I could just install system-level OpenSSL development headers w/ |
Happened to me recently on ubuntu 22.04 and erlang 26.2.2 can confirm that this solution #82 (comment) worked perfectly |
I get the following warnings/errors when trying to install erlang 21.0:
I'm on MacOS 10.13.6, updated asdf-erlang and have openssl installed via homebrew:
Any ideas?
The text was updated successfully, but these errors were encountered: