From 8c1980c11ffd3848585c5f0a37c8e60f5271b692 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Thu, 30 Sep 2021 11:16:39 -0700 Subject: [PATCH] Build ibm_db2 with a public driver --- ci/github/ext/install-ibm_db2.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/ci/github/ext/install-ibm_db2.sh b/ci/github/ext/install-ibm_db2.sh index fa0abc12df7..00336dd59a7 100755 --- a/ci/github/ext/install-ibm_db2.sh +++ b/ci/github/ext/install-ibm_db2.sh @@ -4,23 +4,18 @@ set -ex echo "Installing extension" ( - # updating APT packages as per support recommendation - sudo apt-get -y -q update - sudo apt-get install ksh php-pear - cd /tmp - wget http://cdn1.netmake.com.br/download/Conexao/DB2/Linux/x64_v10.5fp8_linuxx64_dsdriver.tar.gz + wget https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz - tar xf x64_v10.5fp8_linuxx64_dsdriver.tar.gz - ksh dsdriver/installDSDriver + tar xf linuxx64_odbc_cli.tar.gz pecl download ibm_db2 tar xf ibm_db2-* rm ibm_db2-*.tgz cd ibm_db2-* phpize - ./configure --with-IBM_DB2=/tmp/dsdriver + ./configure --with-IBM_DB2=/tmp/clidriver make -j "$(nproc)" sudo make install )