From cd71aa706039b000f7f4d5202dde5eb54c83f420 Mon Sep 17 00:00:00 2001 From: Pratham Manja Date: Tue, 1 Oct 2024 05:31:57 +0530 Subject: [PATCH] [GLUTEN-7307][VL] Update openssl version in velox setup for centos9 (#7308) The current velox setup script for centOS9 brings opnssl-1.1.1s which seems to be outdated all the current spark-3.x runtimes on centOS9 use openssl-3.x versions which causes the spark applications to fail due to this version mismatch. To handle the above issue - upgraded the openssl version is the current setup. Fixes: #7307 --- ep/build-velox/src/get_velox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ep/build-velox/src/get_velox.sh b/ep/build-velox/src/get_velox.sh index 4b3512098026..006dd921e4e8 100755 --- a/ep/build-velox/src/get_velox.sh +++ b/ep/build-velox/src/get_velox.sh @@ -107,7 +107,7 @@ function process_setup_centos9 { sed -i '/^.*dnf_install autoconf/a\ dnf_install libxml2-devel libgsasl-devel libuuid-devel' scripts/setup-centos9.sh ensure_pattern_matched 'install_gflags' scripts/setup-centos9.sh - sed -i '/^function install_gflags.*/i function install_openssl {\n wget_and_untar https://github.com/openssl/openssl/archive/refs/tags/OpenSSL_1_1_1s.tar.gz openssl \n cd openssl \n ./config no-shared && make depend && make && sudo make install \n cd ..\n}\n' scripts/setup-centos9.sh + sed -i '/^function install_gflags.*/i function install_openssl {\n wget_and_untar https://github.com/openssl/openssl/releases/download/openssl-3.2.2/openssl-3.2.2.tar.gz openssl \n ( cd ${DEPENDENCY_DIR}/openssl \n ./config no-shared && make depend && make && sudo make install ) \n}\n' scripts/setup-centos9.sh ensure_pattern_matched 'install_fbthrift' scripts/setup-centos9.sh sed -i '/^ run_and_time install_fbthrift/a \ run_and_time install_openssl' scripts/setup-centos9.sh