All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] openssl: install files in ${libdir}, not in ${base_libdir}
@ 2014-06-12 13:36 Enrico Scholz
  2014-06-12 15:46 ` Robert Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Enrico Scholz @ 2014-06-12 13:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: Enrico Scholz

${base_libdir} is not in the search path of -native binaries and they
will try to pick the wrong openssl libraries.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
 meta/recipes-connectivity/openssl/openssl.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index b839c00..f17f829 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -32,6 +32,10 @@ export AS = "${CC} -c"
 
 inherit pkgconfig siteinfo multilib_header ptest
 
+# natives don't generally look in base_libdir
+base_libdir_class-native = "${libdir}"
+base_libdir_class-nativesdk = "${libdir}"
+
 PACKAGES =+ "libcrypto libssl ${PN}-misc openssl-conf"
 FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}"
 FILES_libssl = "${libdir}/libssl.so.*"
-- 
1.9.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] openssl: install files in ${libdir}, not in ${base_libdir}
  2014-06-12 13:36 [PATCH] openssl: install files in ${libdir}, not in ${base_libdir} Enrico Scholz
@ 2014-06-12 15:46 ` Robert Yang
  2014-06-13 10:03   ` Enrico Scholz
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2014-06-12 15:46 UTC (permalink / raw)
  To: Enrico Scholz, openembedded-core


On 06/12/2014 09:36 PM, Enrico Scholz wrote:
> ${base_libdir} is not in the search path of -native binaries and they
> will try to pick the wrong openssl libraries.

Hello, I don't quite understand this, why it doesn't search
${base_libdir}, please ?

// Robert

>
> Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
> ---
>   meta/recipes-connectivity/openssl/openssl.inc | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
> index b839c00..f17f829 100644
> --- a/meta/recipes-connectivity/openssl/openssl.inc
> +++ b/meta/recipes-connectivity/openssl/openssl.inc
> @@ -32,6 +32,10 @@ export AS = "${CC} -c"
>
>   inherit pkgconfig siteinfo multilib_header ptest
>
> +# natives don't generally look in base_libdir
> +base_libdir_class-native = "${libdir}"
> +base_libdir_class-nativesdk = "${libdir}"
> +
>   PACKAGES =+ "libcrypto libssl ${PN}-misc openssl-conf"
>   FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}"
>   FILES_libssl = "${libdir}/libssl.so.*"
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] openssl: install files in ${libdir}, not in ${base_libdir}
  2014-06-12 15:46 ` Robert Yang
@ 2014-06-13 10:03   ` Enrico Scholz
  0 siblings, 0 replies; 3+ messages in thread
From: Enrico Scholz @ 2014-06-13 10:03 UTC (permalink / raw)
  To: openembedded-core

Robert Yang <liezhi.yang-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
writes:

>> ${base_libdir} is not in the search path of -native binaries and they
>> will try to pick the wrong openssl libraries.
>
> Hello, I don't quite understand this, why it doesn't search
> ${base_libdir}, please ?

good question... When I wrote the patch a month ago or so, git-native (the
http fetcher afair) failed to run because it did not find libcrypto.so.1.0.1g
(system has ...1e version only).

I cherry-picked idea from dd05e06b89906002f68d616a6326c962e725bc54 for
openssl then and things worked.

But I can not reproduce the problem anymore when building from scratch
so this might be a temporary or local problem only.

So, this patch can be dropped.


Enrico


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-13 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-12 13:36 [PATCH] openssl: install files in ${libdir}, not in ${base_libdir} Enrico Scholz
2014-06-12 15:46 ` Robert Yang
2014-06-13 10:03   ` Enrico Scholz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.