[erlang-questions] crypto:start/0 eroor

Sverker Eriksson <>
Wed Mar 20 14:11:53 CET 2013


Alex toyer wrote:
> Hello,
>
> I built and installed Erlang R15B. Now i run erlang shell and try to
> execute crypto:start(), but get erorr:
>
> =ERROR REPORT==== 20-Mar-2013::18:58:35 ===
> Unable to load crypto library. Failed with error:
> "load_failed, Failed to load NIF library:
> '/usr/local/lib/erlang/lib/crypto-2.3/priv/lib/crypto.so: undefined symbol:
> enif_dlsym'"
> OpenSSL might not be installed on this system.
>
> =ERROR REPORT==== 20-Mar-2013::18:58:35 ===
> The on_load function for module crypto returned {error,
>   {load_failed,"Failed to load NIF library:
> '/usr/local/lib/erlang/lib/crypto-2.3/priv/lib/crypto.so: undefined symbol:
> enif_dlsym'"}}
> ** exception error: undefined function crypto:start/0
>
> I built erlang with:
>
> ./configure --with-ssl -with-ssl=/usr/include/openssl && make && make
> install
>
> How can i fix it?
>
>   
You are using crypto from R16 on an R15 emulator.

/Sverker, Erlang/OTP Ericsson





More information about the erlang-questions mailing list