in reply to Re: Crypt::OpenSSL::Random on Win32 with ActiveState
in thread Crypt::OpenSSL::Random on Win32 with ActiveState

Thanks for the hints Rob and "Anonymous Monk". Using a combination of both, I was able to get it to work.

I ended up doing:

  1. Install OpenSSL pre-built binaries for Win64
  2. In the OpenSSL Install directory:
  3. copy <ossldir>/libeay32.dll <ossldir>/ssl.dll copy <ossldir>/bin/libeay32.dll <ossldir>/bin/ssl.dll copy <ossldir>/lib/libeay32.lib <ossldir>/bin/ssl.lib
  4. In the Crypt-OpenSSL-Random-0.06 directory run:
  5. perl Makefile.PL LIBDIR="<ossldir>/lib" INCDIR="<ossldir>/include"
  6. ignore these messages, they seem bogus:
  7. -lssl -lcrypto not found. Need to install the openssl devel packages. 'INCDIR' is not a known MakeMaker parameter name. 'LIBDIR' is not a known MakeMaker parameter name.
  8. Build, test and install:
  9. nmake nmake test nmake install