diff --git a/proxysql/build-binary-proxysql b/proxysql/build-binary-proxysql index 46dc33032c..5b3ab56f09 100755 --- a/proxysql/build-binary-proxysql +++ b/proxysql/build-binary-proxysql @@ -25,7 +25,14 @@ if [ -f /usr/bin/yum ]; then fi sudo yum -y install wget if [[ $RHEL -eq 7 ]]; then + sudo yum install -y centos-release-scl + sudo yum install -y devtoolset-9 + scl enable devtoolset-9 bash sudo yum -y install automake bzip2 cmake3 make gcc-c++ gcc git openssl openssl-devel gnutls gnutls-devel libtool patch libuuid libuuid-devel perl-IPC-Cmd + gcc --version + g++ --version + which gcc + which g++ if [ -f /usr/bin/cmake3 ]; then sudo mv /usr/bin/cmake /usr/bin/cmake2 sudo ln -s /usr/bin/cmake3 /usr/bin/cmake