Erlang Cowboy - Curvature of dependencies is defined as a dependency, but is not available by the system

I installed Erlang vesion 19.3 on a CentOS 7 linux server. Yesterday I uploaded the Cowboy HTTP server (latest version). In the examples / hello_world directory, I ran a command make(version 4.1) and received the following error

Dependency crypto is specified as a dependency but is not reachable by the system.

Can someone help me solve the problem?

+4
source share
1 answer

cryptoshould be part of your Erlang distribution, as it is part of the standard library. But if you look in the documentation, you will find that

The current Erlang Crypto application implementation is based on the OpenSSL package version 0.9.7 or higher. There are sources and binary versions on the Internet.

OpenSSL OpenSSL , .

, . , Erlang , ( )

APPLICATIONS DISABLED (See: ~.kerl/builds/19.3/otp_build_19.3.log)
* crypto         : No usable OpenSSL found
* ssh            : No usable OpenSSL found
* ssl            : No usable OpenSSL found

OpenSSL Erlang.

kerl , .

+2

Source: https://habr.com/ru/post/1685065/


All Articles