[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-devel
Subject:    [oe] Fwd: perl module Crypt-OpenSSL-RSA
From:       patrick.patat () innotis ! org (patrick patat)
Date:       2013-10-31 9:55:26
Message-ID: CAF+NyK7G6BU4tQ8C5ExY624jnLDRtRGW26RXsME=sSyj++rosQ () mail ! gmail ! com
[Download RAW message or body]

Hello,

I send this to yocto and didn't get any answer,
maybe someone here could help me.

Thanks

Pat

---------- Forwarded message ----------
From: patrick patat <patrick.patat at innotis.org>
Date: Wed, Oct 23, 2013 at 11:12 AM
Subject: Re: perl module Crypt-OpenSSL-RSA
To: yocto <yocto at yoctoproject.org>


Hello,

I found that the problem could be related to libcrypto path which is in
${base_libdir} instead of ${libdir}.
So if I use this EXTRA_CPANFLAGS = "LIBS='
-L${STAGING_DIR_TARGET}${base_libdir} -lssl -lcrypto'"
instead of my ugly sed it's compiling with libcrypto but then I have the
following error:
QA Issue: package Crypt-OpenSSL-RSA contains bad RPATH pathtosysroot/lib in
file
pathtobuilddir/Crypt-OpenSSL-RSA/0.28-r0/packages-split/Crypt-OpenSSL-RSA/usr/lib/perl/vendor_perl/5.14.3/auto/Crypt/OpenSSL/RSA/RSA.so


How can I fix this rpath issue?

Thanks,

Pat



On Tue, Oct 22, 2013 at 3:48 PM, patrick patat <patrick.patat at innotis.org>wrote:

> Hello,
> 
> I'm trying to create a recipe for perl module Crypt-OpenSSL-RSA, I'm using
> inherit cpan to do it. Build and install is working but at run time I have
> the following error:
> 
> Can't load
> '/usr/lib/perl/vendor_perl/5.14.3//auto/Crypt/OpenSSL/RSA/RSA.so' for
> module Crypt::OpenSSL::RSA:
> /usr/lib/perl/vendor_perl/5.14.3//auto/Crypt/OpenSSL/RSA/RSA.so: undefined
> symbol: RSA_public_encrypt at /usr/lib/perl/5.14.3//.
> 
> After some research I found this in configure log :
> Note (probably harmless): No library found for -lcrypto
> 
> Because of this -lcrypto as been remove in Makefile, if I manually edit
> Makefile to add -lcrypto and rebuild I don't have undefined symbol error.
> 
> Does anybody know if there is a better way than a sed in Makefile to fix
> the problem?
> 
> you can find the recipe here http://pastebin.com/u2fd9MJq
> 
> Thanks,
> 
> Pat
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic