简体   繁体   中英

Installation PHOENIX on linux mint (Error: OpenSSL)

I have problems to install phoenix on my linux mint (18.3). Can anybody help me?

I have installed erlang (20) and elixir (1.6.3) with the the installation routine from phoenixframework .

But when I came to command $ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez to install phoenix, I get the error:

[error] Unable to load crypto library. Failed with error: ":load_failed, Failed to load NIF library /usr/lib/erlang/lib/crypto-4.2.1/priv/lib/crypto: 'libcrypto.so.1.0.2: cannot open shared object file: No such file or directory'" OpenSSL might not be installed on this system.

I looked in the synaptic-package-manager from my linux and see that "libssl1.0.0" is already installed. (I also tried to install from local path like it is described, but the problem is the same at the end.)

Can anybody help?

Solution:

sudo apt-get install libssl1.0.2

or manual package installed . Then...

sudo apt-get install erlang-crypto

Then I could create my first project without errors:

mix phx.new hello

Thanks @bla

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM