kangquanwang
kangquanwang

Reputation: 51

install erlang on mac but got the error "crypto usable openssl found ...",how can i fixed it?

i install erlang ENV on my mac, then excute './configure' and got the error like this :

*********************************************************************
**********************  APPLICATIONS DISABLED  **********************
*********************************************************************
crypto         : No usable OpenSSL found
odbc           : ODBC library - header check failed
ssh            : No usable OpenSSL found
ssl            : No usable OpenSSL found
*********************************************************************


*********************************************************************
**********************  DOCUMENTATION INFORMATION  ******************
*********************************************************************
documentation  :  
                fop is missing. 
                Using fakefop to generate placeholder PDF files.
*********************************************************************

Upvotes: 1

Views: 1359

Answers (2)

josuedani
josuedani

Reputation: 72

I'm using MacOS with homebrew and asdf so it works for me to install openssl as @kangquanwang mention in the comment of the question

brew install [email protected]    
asdf uninstall erlang 24.3.4.15    
asdf install erlang 24.3.4.15 --with-ssl=$(brew --prefix openssl)

Upvotes: 0

Stratus3D
Stratus3D

Reputation: 4906

It means OpenSSL was not found on your machine. This is most likely due to it not being installed.

There are several ways to install OpenSSL on OSX, but the easiest way is to use Homebrew to install it. If you already have Homebrew itself installed you can just do:

brew install openssl

If you are just wanting to get Erlang installed and don't want to deal with manual configuration I would recommend checking out kerl, a command line tool for building and install Erlang. It helps you avoid many of the issues you will run into building and configuring manually.

Upvotes: 1

Related Questions