From b0cf54877527f9c401c30751d77b2b5ea9e248b4 Mon Sep 17 00:00:00 2001 From: dami Date: Wed, 10 Sep 2025 22:08:35 +0800 Subject: [PATCH] Update install.sh --- plugins/mysql/versions/5.7/install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/plugins/mysql/versions/5.7/install.sh b/plugins/mysql/versions/5.7/install.sh index 90d7bc303..0151b54a4 100755 --- a/plugins/mysql/versions/5.7/install.sh +++ b/plugins/mysql/versions/5.7/install.sh @@ -138,6 +138,20 @@ Install_mysql() WHERE_DIR_GPP=/usr/bin/g++-11 fi + if [ "$OSNAME" == "debian" ] && [ "$VERSION_ID" == "13" ];then + apt install -y libudev-dev + apt install -y libtirpc-dev + apt install -y libssl-dev + apt install -y libgssglue-dev + apt install -y software-properties-common + add-apt-repository -y ppa:ubuntu-toolchain-r/test + + export PKG_CONFIG_PATH=/usr/lib/pkgconfig + apt install -y gcc-11 g++-11 + WHERE_DIR_GCC=/usr/bin/gcc-11 + WHERE_DIR_GPP=/usr/bin/g++-11 + fi + OPTIONS='' ##check openssl version OPENSSL_VERSION=`openssl version|awk '{print $2}'|awk -F '.' '{print $1}'`