Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 94410
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: Finance-Quote

People
Owner: eco [...] ecocode.net
Requestors: linasvepstas [...] gmail.com
Cc:
AdminCc:

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



Subject: SSLeay PM not installed from CPAN.
Date: Thu, 3 Apr 2014 14:19:06 -0500
To: bug-Finance-Quote [...] rt.cpan.org
From: Linas Vepstas <linasvepstas [...] gmail.com>
I used cpanm Finance::Quote to install the latest version 1.28) then ran the example program. Promptly get the error spew below. The work-around is obvious, but it would be nice if F::Q handled it too. Can't load '/usr/lib/perl5/auto/Crypt/SSLeay/SSLeay.so' for module Crypt::SSLeay: /usr/lib/perl5/auto/Crypt/SSLeay/SSLeay.so: wrong ELF class: ELFCLASS32 at /usr/lib/perl/5.14/DynaLoader.pm line 184. at /usr/local/share/perl/5.14.2/Finance/Quote/Deka.pm line 23 Compilation failed in require at /usr/local/share/perl/5.14.2/Finance/Quote/Deka.pm line 23. Compilation failed in require at (eval 16) line 1. BEGIN failed--compilation aborted at (eval 16) line 1. at ./fq-example.pl line 36 Attempt to reload Crypt/SSLeay.pm aborted. Compilation failed in require at /usr/local/share/perl/5.14.2/Finance/Quote/DWS.pm line 36. Compilation failed in require at (eval 17) line 1. BEGIN failed--compilation aborted at (eval 17) line 1. at ./fq-example.pl line 36 Attempt to reload Crypt/SSLeay.pm aborted. Compilation failed in require at /usr/local/share/perl/5.14.2/Finance/Quote/GoldMoney.pm line 31. Compilation failed in require at (eval 24) line 1. BEGIN failed--compilation aborted at (eval 24) line 1. at ./fq-example.pl line 36 Attempt to reload Crypt/SSLeay.pm aborted. Compilation failed in require at /usr/local/share/perl/5.14.2/Finance/Quote/Tiaacref.pm line 32. Compilation failed in require at (eval 49) line 1. BEGIN failed--compilation aborted at (eval 49) line 1. at ./fq-example.pl line 36
Subject: [rt.cpan.org #94410] Never mind
Date: Thu, 3 Apr 2014 14:26:42 -0500
To: bug-Finance-Quote [...] rt.cpan.org
From: Linas Vepstas <linasvepstas [...] gmail.com>
Never mind, I think the problem was that I had an old/broken SSLeay installed, so this may be a crazy-error. Close the bug report, please.
On Thu Apr 03 15:27:15 2014, linasvepstas@gmail.com wrote: Show quoted text
> Never mind, I think the problem was that I had an old/broken SSLeay > installed, so this may be a crazy-error. Close the bug report, please.
Done -- Erik
There might be an Alien:: module for the ssleay library that you can depend on to make the dependency more clear?
Subject: FEATURE REQUEST: Make installation of submodules requiring SSLeay optional
On Fri Apr 04 12:09:26 2014, ETHER wrote: Show quoted text
> There might be an Alien:: module for the ssleay library that you can > depend on to make the dependency more clear?
Hi, May be there is... However the dependency is only needed by 1 (I think) submodule which probably not too much people use. So the best solution I can figure is to create an option to the Makefile which would enable the dependency if the user specifically asks for that submodule... I'll reopen this report as a 'nice to have' feature request. -- Erik
Subject: Re: [rt.cpan.org #94410] FEATURE REQUEST: Make installation of submodules requiring SSLeay optional
Date: Mon, 7 Apr 2014 10:24:00 -0500
To: bug-Finance-Quote [...] rt.cpan.org
From: Linas Vepstas <linasvepstas [...] gmail.com>
<URL: https://rt.cpan.org/Ticket/Display.html?id=94410 > Show quoted text
> > On Fri Apr 04 12:09:26 2014, ETHER wrote:
> > There might be an Alien:: module for the ssleay library that you can > > depend on to make the dependency more clear?
>
Just to be clear: my system is not "typical", and so a "typical" user might not hit this bug. (My system was misconfigured: it is a somewhat hacked development box with sometimes oddball versions of things on it. In this case, I was sloppy and opened the bug report too soon, without investigating. ) --linas
On Mon Apr 07 11:24:33 2014, linasvepstas@gmail.com wrote: Show quoted text
> Just to be clear: my system is not "typical", and so a "typical" user might > not hit this bug. (My system was misconfigured: it is a somewhat hacked
Yep, cool! and that is how bugs are found ;) Anyway, I checked and actually 4 modules require Crypt::SSLeay to work. They are: DWS, Deka, GoldMoney, Tiaacref. So it certainly is a "nice to have feature". Thanks for this ! -- Erik
Dependency Crypt::SSLeay is removed -- Erik