-
Notifications
You must be signed in to change notification settings - Fork 75
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
Issue with easy_ssl.ex #116
Comments
you may need to install
|
apt-get install erlang-dev dpkg -L erlang-dev | grep OTP Already didn't fix the issue. |
Could you give it a try with the Ubuntu managed packages ? it seems you're installing from a rabbitmq PPA update: I can reproduce with You may need to run this in docker or use something like |
Thanks. Removed all erlang packages from rabbitmq and installed erlang from the Ubuntu repo Debian (and Ubuntu) alternative
|
you probably have no SSL/TLS configured on this update: answering a deleted question by OP |
This pull request fixes the issue: You can test by manually editing deps/easy_ssl/mix.exs and adding :public_key to extra_applications.
|
For all future MacOS users (and maybe users from other platforms) - the issue probably stems with using the latest Elixir. Going into |
I trying to run certstream-server and got the following error:
root@vrfcanalyzer:/usr/src/certstream-server# mix run --no-halt
warning: use Mix.Config is deprecated. Use the Config module instead
config/config.exs:1
warning: Mix.Config.config/2 is deprecated. Use the Config module instead
config/config.exs:3
warning: Mix.Config.config/2 is deprecated. Use the Config module instead
config/config.exs:8
warning: Mix.Config.config/2 is deprecated. Use the Config module instead
config/config.exs:12
warning: Mix.Config.config/2 is deprecated. Use the Config module instead
config/config.exs:19
==> easy_ssl
Compiling 1 file (.ex)
== Compilation error in file lib/easy_ssl.ex ==
** (ArgumentError) lib file public_key/include/OTP-PUB-KEY.hrl could not be found
(elixir 1.15.7) lib/record/extractor.ex:41: Record.Extractor.from_lib_file/1
(elixir 1.15.7) lib/record/extractor.ex:18: Record.Extractor.from_or_from_lib_file/1
(elixir 1.15.7) lib/record/extractor.ex:9: Record.Extractor.extract_all/1
lib/easy_ssl.ex:10: (module)
could not compile dependency :easy_ssl, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile easy_ssl --force", update it with "mix deps.update easy_ssl" or clean it with "mix deps.clean easy_ssl"
Running Ubuntu Server 20.04.6 LTS (Focal Fossa) fully patched.
mix deps.compile easy_ssl --force doesn't fix the error. Same error message as above
Any idea what is wrong?
The text was updated successfully, but these errors were encountered: