Skip to contentSkip to conversation

libnet-ssleay-perl: fix build error

PATCH In review Armin Kuster 2 participants 2 messages Jan 28, 2017 – Jan 29, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnet-ssleay-perl: fix build error

../../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
---
 meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb +1 -2
index cfd6f51..f347942 100644
@@ -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' \
                   "
 
 do_configure_prepend() {
Signature · 1 line
2.7.4
#1 lore raw
Quoted 15 lines · Armin Kuster

../../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
---
 meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb +0 -0
index cfd6f51..f347942 100644

meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb inherit cpan ptest · line 35

Quoted 6 lines
meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb +1 -2
@@ -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.

Quoted 11 lines
meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb +0 -1
                   "
 
 do_configure_prepend() {
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel