[erlang-questions] crypto on 64bit windows?

Emile Joubert <>
Tue Mar 29 12:12:37 CEST 2011


Hi,

Should the crypto module work on 64bit windows? It works fine on 32bit 
Windows XP, but on 64bit XP and 64bit Windows7 I get the following error:

----------

Erlang R14B02 (erts-5.8.3) [smp:2:2] [rq:2] [async-threads:0]

Eshell V5.8.3  (abort with ^G)
1> crypto:start().

=ERROR REPORT==== 29-Mar-2011::11:05:13 ===
Unable to load crypto library. Failed with error:
"load_failed, Failed to load NIF library 
c:/PROGRA~2/ERL58~1.3/lib/crypto-2.0.2.1/priv/lib/crypto: 'The specified 
module could not be found.'"
OpenSSL might not be installed on this system.

=ERROR REPORT==== 29-Mar-2011::11:05:13 ===
The on_load function for module crypto returned {error,
                                                  {load_failed,
                                                   "Failed to load NIF 
library c:/PROGRA~2/ERL58~1.3/lib/crypto-2.0.2.1/priv/lib/crypto: 'The 
specified module could not be found.'"}}
** exception error: undefined function crypto:start/0

----------

C:\Program Files (x86)\erl5.8.3\lib\crypto-2.0.2.1\priv\lib
does contain crypto.dll. Installing a 64bit version of OpenSSL for 
Windows doesn't help.

The crypto documentation refers to Win32 - should I infer that crypto 
will not work on 64bit Windows operating systems?



Regards

Emile




More information about the erlang-questions mailing list