Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 79230
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

Owner: Nobody in particular
Requestors: kes-kes [...]

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

Subject: can not install Crypt::OpenSSL::Random
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 4025
Download (untitled) / with headers
text/plain 3.9k
C:\cygwin\home\1\work\srs\script>cpan install Crypt::OpenSSL::Random CPAN: CPAN::SQLite loaded ok (v0.202) Database was generated on Sun, 26 Aug 2012 11:37:11 GMT Running install for module 'Crypt::OpenSSL::Random' Running make for I/IR/IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz CPAN: Digest::SHA loaded ok (v5.71) CPAN: Compress::Zlib loaded ok (v2.055) Checksum for C:\strawberry\cpan\sources\authors\id\I\IR\IROBERTS\Crypt-OpenSSL-R andom-0.04.tar.gz ok CPAN: Archive::Tar loaded ok (v1.88) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) Building I/IR/IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lssl Note (probably harmless): No library found for -lcrypto Writing Makefile for Crypt::OpenSSL::Random Writing MYMETA.yml and MYMETA.json CPAN: Module::CoreList loaded ok (v2.70) cp blib\lib\Crypt\OpenSSL\ AutoSplitting blib\lib\Crypt\OpenSSL\ (blib\lib\auto\Crypt\OpenSSL\Rand om) C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap Random.xs > Random.xsc && C:\strawberr y\perl\bin\perl.exe -MExtUtils::Command -e mv -- Random.xsc Random.c Please specify prototyping behavior for Random.xs (see perlxs manual) gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT - DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0. 04\" -DXS_VERSION=\"0.04\" "-IC:\strawberry\perl\lib\CORE" Random.c Running Mkbootstrap for Crypt::OpenSSL::Random () C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Crypt::OpenSSL::Random\", 'DLBASE' => 'Random', 'D L_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def Random.def --output-exp dll.exp g++ -o blib\arch\auto\Crypt\OpenSSL\Random\Random.dll -Wl,--base-file -Wl, se -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Random.o C :\strawberry\perl\lib\CORE\libperl516.a C:\strawberry\c\i686-w64-mingw32\lib\lib moldname.a C:\strawberry\c\i686-w64-mingw32\lib\libkernel32.a C:\strawberry\c\i6 86-w64-mingw32\lib\libuser32.a C:\strawberry\c\i686-w64-mingw32\lib\libgdi32.a C :\strawberry\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry\c\i686-w64-mingw 32\lib\libcomdlg32.a C:\strawberry\c\i686-w64-mingw32\lib\libadvapi32.a C:\straw berry\c\i686-w64-mingw32\lib\libshell32.a C:\strawberry\c\i686-w64-mingw32\lib\l ibole32.a C:\strawberry\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry\c\i68 6-w64-mingw32\lib\libnetapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libuuid.a C :\strawberry\c\i686-w64-mingw32\lib\libws2_32.a C:\strawberry\c\i686-w64-mingw32 \lib\libmpr.a C:\strawberry\c\i686-w64-mingw32\lib\libwinmm.a C:\strawberry\c\i6 86-w64-mingw32\lib\libversion.a C:\strawberry\c\i686-w64-mingw32\lib\libodbc32.a C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\i686-w64-min gw32\lib\libcomctl32.a dll.exp Random.o:Random.c:(.text+0x5a): undefined reference to `RAND_status' Random.o:Random.c:(.text+0x10b): undefined reference to `RAND_egd' Random.o:Random.c:(.text+0x20f): undefined reference to `RAND_seed' Random.o:Random.c:(.text+0x23e): undefined reference to `RAND_status' Random.o:Random.c:(.text+0x33a): undefined reference to `RAND_bytes' Random.o:Random.c:(.text+0x49a): undefined reference to `RAND_bytes' collect2: ld returned 1 exit status dmake.exe: Error code 129, while making 'blib\arch\auto\Crypt\OpenSSL\Random\Ra ndom.dll' IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz C:\strawberry\c\bin\dmake.exe -- NOT OK CPAN: YAML::XS loaded ok (v0.38) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Stopping: 'install' failed for 'Crypt::OpenSSL::Random'.
From kmx [...] Sun Aug 26 15: 24:10 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-6.121 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-14355-1345998410-427.79230-4-0 [...]>
X-Spam-Flag: NO
References: <RT-Ticket-79230 [...]> <rt-3.8.HEAD-14355-1345998410-427.79230-4-0 [...]>
X-Virus-Scanned: Debian amavisd-new at
Message-ID: <503A77CA.1000104 [...]>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.121
Received: from localhost (localhost []) by (Postfix) with ESMTP id 8E6B1240549 for <cpan-bug+perl-dist-strawberry [...]>; Sun, 26 Aug 2012 15:24:10 -0400 (EDT)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id RaQ-GOlGXb8A for <cpan-bug+perl-dist-strawberry [...]>; Sun, 26 Aug 2012 15:24:08 -0400 (EDT)
Received: from ( []) by (Postfix) with SMTP id 576752400CD for <bug-perl-dist-strawberry [...]>; Sun, 26 Aug 2012 15:24:07 -0400 (EDT)
Received: (qmail 19168 invoked by uid 103); 26 Aug 2012 19:24:06 -0000
Received: from ( by with QMQP; 26 Aug 2012 19:24:06 -0000
Received: from (HELO ( by (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Sun, 26 Aug 2012 12:24:02 -0700
Received: from ([]) by (InterMail vM. 201-2260-151-110-20120111) with ESMTP id < [...]> for <bug-perl-dist-strawberry [...]>; Sun, 26 Aug 2012 21:23:58 +0200
Received: from [] ([]) by with edge id rXPx1j00g4z0HsE02XPxNY; Sun, 26 Aug 2012 21:23:58 +0200
Delivered-To: cpan-bug+perl-dist-strawberry [...]
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
Subject: Re: [ #79230] can not install Crypt::OpenSSL::Random
Return-Path: <kmx [...]>
X-Original-To: cpan-bug+perl-dist-strawberry [...]
X-RT-Mail-Extension: perl-dist-strawberry
Date: Sun, 26 Aug 2012 21:23:54 +0200
To: bug-Perl-Dist-Strawberry [...]
Content-Transfer-Encoding: 7bit
From: kmx <kmx [...]>
RT-Message-ID: <rt-3.8.HEAD-32053-1346009051-1112.79230-0-0 [...]>
Content-Length: 377
Download (untitled) / with headers
text/plain 377b
Hi, it a known bug in Crypt::OpenSSL::Random, see: (you can also attach your supportive comment to this RT) Anyway you can used patched version from: With strawberry perl you can simply run: c:\> pip <url_to_tarball> -- kmx
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-32053-1346009051-1112.79230-0-0 [...]>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-79230 [...]> <rt-3.8.HEAD-14355-1345998410-427.79230-4-0 [...]> <503A77CA.1000104 [...]> <rt-3.8.HEAD-32053-1346009051-1112.79230-0-0 [...]>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-9643-1346091181-84.79230-0-0 [...]>
Content-Transfer-Encoding: binary
From: kes-kes [...]
X-RT-Original-Encoding: utf-8
Content-Length: 9
Thank you

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to