Skip Menu |

This queue is for tickets about the Crypt-OpenSSL-Random CPAN distribution.

Report information
The Basics
Id: 125118
Status: new
Priority: 0/
Queue: Crypt-OpenSSL-Random

People
Owner: Nobody in particular
Requestors: TODDR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.14
Fixed in: (no value)



Subject: Cannot install Crypt::OpenSSL::Random on strawberry perl 64bit
1. Used 64 bit VM from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines 2. Install Strawberry perl 64 bit. I used: http://strawberryperl.com/download/5.26.1.1/strawberry-perl-5.26.1.1-64bit.msi 3. run cmd.exe then cpan Output follows: Show quoted text
cpan> look Crypt::OpenSSL::Random
Database was generated on Wed, 18 Apr 2018 20:43:53 GMT Running look for module 'Crypt::OpenSSL::Random' Trying to open a subshell in the build directory... Checksum for C:\STRAWB~1\cpan\sources\authors\id\R\RU\RURBAN\Crypt-OpenSSL-Random-0.14.tar.gz ok Scanning cache C:\STRAWB~1\cpan\build for sizes ............................................................................DONE Working directory is C:\STRAWB~1\cpan\build\Crypt-OpenSSL-Random-0.14-1 Microsoft Windows [Version 10.0.16299.214] (c) 2017 Microsoft Corporation. All rights reserved. C:\STRAWB~1\cpan\build\Crypt-OpenSSL-Random-0.14-1>perl -V Summary of my perl5 (revision 5 version 26 subversion 1) configuration: Platform: osname=MSWin32 osvers=6.3 archname=MSWin32-x64-multi-thread uname='Win32 strawberry-perl 5.26.1.1 #1 Sun Sep 24 05:32:33 2017 x64' config_args='undef' hint=recommended useposix=true d_sigaction=undef useithreads=define usemultiplicity=define use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='gcc' ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields' optimize='-s -O2' cppflags='-DWIN32' ccversion='' gccversion='7.1.0' gccosandvers='' intsize=4 longsize=4 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long long' ivsize=8 nvtype='double' nvsize=8 Off_t='long long' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='g++' ldflags ='-s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"' libpth=C:\STRAWB~1\c\lib C:\STRAWB~1\c\x86_64-w64-mingw32\lib C:\STRAWB~1\c\lib\gcc\x86_64-w64-mingw32\7.1.0 libs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs= -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc= so=dll useshrplib=true libperl=libperl526.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs dlext=xs.dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags='-mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at Sep 24 2017 05:47:34 %ENV: PERL5_CPANPLUS_IS_RUNNING="6192" PERL5_CPAN_IS_RUNNING="6192" @INC: C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib C:\STRAWB~1\cpan\build\Crypt-OpenSSL-Random-0.14-1>perl Makefile.PL Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lssl32 Warning (mostly harmless): No library found for -leay32 Generating a gmake-style Makefile Writing Makefile for Crypt::OpenSSL::Random Writing MYMETA.yml and MYMETA.json C:\STRAWB~1\cpan\build\Crypt-OpenSSL-Random-0.14-1>gmake cp Random.pm blib\lib\Crypt\OpenSSL\Random.pm Running Mkbootstrap for Random () "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "Random.bs" "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- Random.bs blib\arch\auto\Crypt\OpenSSL\Random\Random.bs 644 "C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils/xsubpp" -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap Random.xs > Random.xsc "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- Random.xsc Random.c gcc -c -IC:\STRAWB~1\perl\..\c/include -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.14\" -DXS_VERSION=\"0.14\" "-IC:\STRAWB~1\perl\lib\CORE" Random.c "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Crypt::OpenSSL::Random\", 'DLBASE' => 'Random', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" g++ Random.def -o blib\arch\auto\Crypt\OpenSSL\Random\Random.xs.dll -mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" Random.o "C:\STRAWB~1\perl\lib\CORE\libperl526.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libmoldname.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuser32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libgdi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinspool.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libcomdlg32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libadvapi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libshell32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libole32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\liboleaut32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libnetapi32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuuid.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libws2_32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libmpr.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinmm.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libversion.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libodbc32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libodbccp32.a" "C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libcomctl32.a" -Wl,--enable-auto-image-base Random.o:Random.c:(.text+0x52): undefined reference to `RAND_status' Random.o:Random.c:(.text+0x13e): undefined reference to `RAND_seed' Random.o:Random.c:(.text+0x151): undefined reference to `RAND_status' Random.o:Random.c:(.text+0x27f): undefined reference to `RAND_bytes' collect2.exe: error: ld returned 1 exit status gmake: *** [Makefile:500: blib\arch\auto\Crypt\OpenSSL\Random\Random.xs.dll] Error 1
I can fix this by removing hints/MSWin32.pl which as best I can tell is used by ALL versions of windows perl. Possibly we need to fix this in EUMM but that might have limited value.