On Sat, Jan 28, 2017 at 12:09 PM, Armin Kuster <[email protected]> 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 <[email protected]>
> ---
>  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
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to