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
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
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
> The crypto.dll needs to find libeay32.dll (on 32-bit systems at
> least, not sure what it is called on 64-bit)
I can confirm that crypto works if you install the 32bit libraries on a
64bit system.
Thanks for the help.
-Emile