Open jjcnn opened 2 years ago
Before introducing this check we should investigate whether we can upgrade to the most recent version of openssl. I think openssl is only used in the crypto submodules, which may complicate matters, but it would be simpler if we can make it work with off-the-shelf openssl.
Versions of openssl after 1.1 are not supported by the crypto submodules, and build errors due to later versions of openssl are difficult to identify as being caused by this.
The version requirement is documented in INSTALL.md, but we should introduce an actual check somewhere (@anton-trunov suggests here: https://github.com/ocaml/opam-repository/blob/master/packages/conf-openssl/conf-openssl.1/opam) that the correct version is being used.
Depending on how the issue is resolved we should also document this in the troubleshooting part of https://github.com/Zilliqa/scilla/wiki#installation-troubleshooting.
Examples of build errors you may encounter: