rudds_perl_habit has asked for the wisdom of the Perl Monks concerning the following question:
Using ActiveState Perl 5.14.2 (64bit)
Downloaded Crypt::OpenSSL::Random version 0.06
Installed OpenSSL 1.0.1i (prebuilt binaries, win64)
Define INCLUDE and LIB to have the OpenSSL in the path:
first clue that something is wrong is:echo %LIB% C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB\amd64;C:\Pr +ogram Files\Microsoft Visual Studio 9.0\VC\LIB\amd64;C:\Program Files +\Microsoft SDKs\Windows\v6.0A\lib\x64;C:\OpenSSL-Win64;C:\OpenSSL-Win +64\lib;C:\OpenSSL-Win64\bin echo %INCLUDE% C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;C:\Prog +ram Files\Microsoft Visual Studio 9.0\VC\INCLUDE;C:\Program Files\Mic +rosoft SDKs\Windows\v6.0A\include;C:\OpenSSL-Win64\include
perl Makefile.PL -lssl -lcrypto not found. Need to install the openssl devel packages. Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lssl Note (probably harmless): No library found for -lcrypto Note (probably harmless): No library found for bufferoverflowU.lib Writing Makefile for Crypt::OpenSSL::Random Writing MYMETA.yml
Looking through the OpenSSL installation, I have ssleay32.lib and libssl32.dll and ssleay32.dll.
Trying to compile (nmake) gives the errors:Random.obj : error LNK2001: unresolved external symbol RAND_status Random.obj : error LNK2001: unresolved external symbol RAND_egd Random.obj : error LNK2001: unresolved external symbol RAND_seed Random.obj : error LNK2001: unresolved external symbol RAND_bytes
Any help is greatly appreciated!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Crypt::OpenSSL::Random on Win32 with ActiveState
by syphilis (Archbishop) on Sep 09, 2014 at 02:16 UTC | |
by rudds_perl_habit (Novice) on Sep 09, 2014 at 15:51 UTC | |
|
Re: Crypt::OpenSSL::Random on Win32 with ActiveState
by Anonymous Monk on Sep 09, 2014 at 00:41 UTC |