summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-03-09 01:41:18 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-03-09 02:21:13 +0530
commit24b0f9c21fa752fcbf0fe550859961155a6a8781 (patch)
tree24ea5326310686828d900023ce8c14dda8bdb545
parent091250bc9d94cc6be8a646505823de9c112a6d71 (diff)
openssl.recipe: Enable more crypto algos on Linux
These are not used by us, but the system version of Sphinx used by gst-validate ends up trying to use libssl built by this recipe, and fails due to undefined symbols: Could not import extension sphinx.builders.linkcheck (exception: /usr/lib64/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so: symbol SSLv3_method, version OPENSSL_1_1_0 not defined in file libssl.so.1.1 with link time reference) Similar problem with librpmio.so.8, which is used during package generation on Fedora: rpmbuild: relocation error: /lib64/librpmio.so.8: symbol EVP_md2, version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference It's harmless to enable these and we're effectively matching distro build settings for openssl, so should not be an issue.
-rw-r--r--recipes/openssl.recipe5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/openssl.recipe b/recipes/openssl.recipe
index 0d8b6898..771f0022 100644
--- a/recipes/openssl.recipe
+++ b/recipes/openssl.recipe
@@ -109,6 +109,11 @@ class Recipe(recipe.Recipe):
config_sh += ' no-shared no-dso '
else:
config_sh += ' shared '
+ # ssl3 is needed by sphinx which is used by gst-validate, which tries
+ # to use this libssl and fails with undefined symbols. md2 is needed by
+ # librpmio.so.8, which is used during package generation on Fedora.
+ if self.config.target_platform == Platform.LINUX:
+ config_sh += ' enable-ssl3 enable-ssl3-method enable-md2 '
shell.call(config_sh + self.openssl_platform, self.build_dir)
def post_install(self):