[erlang-questions] crypto:start/0 eroor

Alex toyer <>
Wed Mar 20 14:00:20 CET 2013


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?

-- 
best regards,

twitter: @0xAX <https://twitter.com/0xAX>
github: 0xAX <https://github.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130320/6ca2da19/attachment.html>


More information about the erlang-questions mailing list