[oe] [meta-perl][PATCH] libnet-ssleay-perl: fix build error

Khem Raj raj.khem at gmail.com
Sun Jan 29 01:15:49 UTC 2017


On Sat, Jan 28, 2017 at 12:09 PM, Armin Kuster <akuster808 at gmail.com> wrote:
> ../../libexec/i586-oe-linux/gcc/i586-oe-linux/6.3.0/ld: cannot find -lssl -lcrypto -lz
> | collect2: error: ld returned 1 exit status
> | Makefile:492: recipe for target 'blib/arch/auto/Net/SSLeay/SSLeay.so' failed
> | make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1
>
> Signed-off-by: Armin Kuster <akuster808 at gmail.com>
> ---
>  meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb
> index cfd6f51..f347942 100644
> --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb
> +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb
> @@ -32,8 +32,7 @@ inherit cpan ptest
>
>  EXTRA_CPANFLAGS = "LIBS='-L=${STAGING_LIBDIR} -L=${STAGING_BASELIBDIR}' \
>                     INC=-I=${STAGING_INCDIR} \
> -                   'EXTRALIBS=-lssl -lcrypto -lz' \
> -                   'LDLOADLIBS=-lssl -lcrypto -lz' \
> +                   '-lssl -lcrypto -lz' \

Similar to LIBS and INC, there should be a LDFLAGS or some such flag.
I guess it needs
to go there.

>                    "
>
>  do_configure_prepend() {
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list