stratacast
I have some code that I have been building on Ubuntu 18.04, but decided to switch to Ubuntu 20.04. I encountered an issue though. First, this is Elixir 1.10.3 that comes in Ubuntu’s repository
$ elixir --version
Erlang/OTP 23 [erts-11.0.2] [source] [64-bit] [smp:32:32] [ds:32:32:10] [async-threads:1]
Elixir 1.10.3 (compiled with Erlang/OTP 22)
I’ve had no issues compiling on Ubuntu 18.04, but this is the error I get on 20.02:
$ mix deps.compile ssl_verify_fun
==> ssl_verify_fun
Compiling 7 files (.erl)
src/ssl_verify_hostname.erl:16: can't find include lib "public_key/include/public_key.hrl"
src/ssl_verify_hostname.erl:28: record 'OTPCertificate' undefined
src/ssl_verify_hostname.erl:30: record 'Extension' undefined
src/ssl_verify_hostname.erl:46: record 'OTPCertificate' undefined
src/ssl_verify_hostname.erl:76: record 'OTPCertificate' undefined
src/ssl_verify_pk.erl:14: can't find include lib "public_key/include/public_key.hrl"
src/ssl_verify_pk.erl:26: record 'OTPCertificate' undefined
src/ssl_verify_pk.erl:28: record 'Extension' undefined
src/ssl_verify_pk.erl:51: record 'OTPCertificate' undefined
src/ssl_verify_fun_cert_helpers.erl:13: can't find include lib "public_key/include/public_key.hrl"
src/ssl_verify_fun_cert_helpers.erl:23: undefined macro 'id-ce-subjectAltName'
src/ssl_verify_fun_cert_helpers.erl:9: function extract_dns_names/1 undefined
src/ssl_verify_fun_cert_helpers.erl:19: spec for undefined function extract_dns_names/1
src/ssl_verify_fun_cert_helpers.erl:19: record 'OTPCertificate' undefined
src/ssl_verify_fun_cert_helpers.erl:32: record 'OTPCertificate' undefined
src/ssl_verify_fun_cert_helpers.erl:34: record 'OTPCertificate' undefined
src/ssl_verify_fun_cert_helpers.erl:35: record 'OTPTBSCertificate' undefined
src/ssl_verify_fun_cert_helpers.erl:38: record 'OTPCertificate' undefined
src/ssl_verify_fun_cert_helpers.erl:38: record 'SubjectPublicKeyInfo' undefined
src/ssl_verify_fun_cert_helpers.erl:40: record 'OTPCertificate' undefined
src/ssl_verify_fun_cert_helpers.erl:41: record 'OTPTBSCertificate' undefined
src/ssl_verify_fun_cert_helpers.erl:42: record 'OTPSubjectPublicKeyInfo' undefined
src/ssl_verify_fun_cert_helpers.erl:48: record 'Extension' undefined
src/ssl_verify_fun_cert_helpers.erl:48: record 'Extension' undefined
src/ssl_verify_fun_cert_helpers.erl:55: record 'Extension' undefined
src/ssl_verify_fun_cert_helpers.erl:55: record 'Extension' undefined
src/ssl_verify_fun_cert_helpers.erl:57: variable 'ExtId' is unbound
src/ssl_verify_fun_cert_helpers.erl:57: record 'Extension' undefined
src/ssl_verify_fun_cert_helpers.erl:75: record 'AttributeTypeAndValue' undefined
src/ssl_verify_fun_cert_helpers.erl:77: variable 'CN' is unbound
src/ssl_verify_fun_cert_helpers.erl:49: Warning: function extensions_list/1 is unused
src/ssl_verify_fun_cert_helpers.erl:56: Warning: function select_extension/2 is unused
src/ssl_verify_fun_cert_helpers.erl:64: Warning: function extract_dns_names_from_alt_names/2 is unused
src/ssl_verify_fingerprint.erl:15: can't find include lib "public_key/include/public_key.hrl"
src/ssl_verify_fingerprint.erl:27: record 'OTPCertificate' undefined
src/ssl_verify_fingerprint.erl:29: record 'Extension' undefined
src/ssl_verify_fingerprint.erl:52: record 'OTPCertificate' undefined
could not compile dependency :ssl_verify_fun, "mix compile" failed. You can recompile this dependency with "mix deps.compile ssl_verify_fun", update it with "mix deps.update ssl_verify_fun" or clean it with "mix deps.clean ssl_verify_fun"
I saw somewhere else somebody mentioned I may not have make, but it is indeed installed. Is there some dependency I’m missing on my OS perhaps?
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
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
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
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
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
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
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
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
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
- #metaprogramming
- #hex
- #security










Showing Posts 1 to 2- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
mindok
Does this help: Could not compile dependency ssl_verify_hostname · Issue #46 · edgurgel/httpoison · GitHub (also referenced by Compiling src/ssl_verify_hostname.erl failed · Issue #27 · rrrene/elixirstatus-web · GitHub)
Looks like you may need to install
erlang-devstratacast
Sweet! That did it. Thank you