Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sCADx-003aO1-1T for pgsql-general@arkaria.postgresql.org; Wed, 29 May 2024 03:43:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sCADw-00D6Rj-4f for pgsql-general@arkaria.postgresql.org; Wed, 29 May 2024 03:43:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sCADv-00D6Ra-KU for pgsql-general@lists.postgresql.org; Wed, 29 May 2024 03:43:35 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sCADm-001HfS-5a for pgsql-general@lists.postgresql.org; Wed, 29 May 2024 03:43:34 +0000 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2e96f298fbdso15460781fa.1 for ; Tue, 28 May 2024 20:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bitnine-net.20230601.gappssmtp.com; s=20230601; t=1716954203; x=1717559003; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=X82U7C7yNiBHl0xQvRtIWs/lcNAUFyQ3MPKfOA5mnBI=; b=VTkwncJUAckGfII6qY0Ums5NPRD/ImSn5dczdMr9ABj8cgkvnhNj2Gs+JPmuWxC7d5 wZp240lJipkbDEPrhRR1uRW7aJss3oSKk8sraWa7vQnvN0EoW+/ATUeNIJ/2Le4w6DU8 gv3omC7LM+6XDjK5zEPTMHyGwIxxfSL0AgTqmb1Bnlb7LQH6SmmAaHomLDhe9YYwbrS4 pVC5ItgeaKbg6H/+MCEl4Vr7yfuX0tYLCJRXqzN+SbuPq8NB/t5S/QUVCLY+02i0Kvlr i+4QoEPb5PwhaXpGflKl1z9WEzDbGyoiZCc2tFvQTEsltGjDtXgErq69h7Twk3sUrM6K BddQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716954203; x=1717559003; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=X82U7C7yNiBHl0xQvRtIWs/lcNAUFyQ3MPKfOA5mnBI=; b=uNxSm95avlGXqued447sD1r6woKj9Xm0Q7BoYv2hnMVHhRFELDO/8cq6zRsfsxyN89 mYiOhvEhXXKJQfB4a3nfSAKZE77gJdJ2dl/7dyA7bzCmhBH8NZBZ+TNW8rLwElbrpYQB soU3mzBnzcQe1XFYACVBvY4kiQHmUlp7TjHBPX7PX1wjCREQ5pX1wx7BBtImLqKW2rWZ ZOQ/DMUXJwPxd8bshEL3EAg/wxl0FbSDEBR5Lqjrkf8yuwzl5b5vhEaYAblhHFXQxcu5 +vvaHtKoNYvvWUXT6g85uBjMLuUXTsuCVbJC0/N8BDy7qwaLc0KbPjLHT+W2xprVX+Yt 5thw== X-Forwarded-Encrypted: i=1; AJvYcCUNP2aQJdFBoOxP3tWJYco0aeYlVl1/cd6/DgBXKmv9UWHrXNvbRJdAx7ufdJ0qSLEEkY1tcW0ld4Kyoy3yir6UnGayYh9hahnYL6iPAXA/qUUa X-Gm-Message-State: AOJu0Yy08uP9LqY5vCY1a+mdx4qCY0hjgKQhuYHS/cFAPfcbuXbDVe/0 rHxVSRSLtiHu28xSS26JNFKyXtaDAAP+U2oS09M8WqD/cq0hb4r6O5YNwuGGgJWGUTJpxk3LixB e/WnsprDZkhEOKKCfbFdEyLAh7jUNk5vUxTi77w== X-Google-Smtp-Source: AGHT+IFEs5vqWlooQNIWRBCa12UjMEKweZFKWxoGOLWVfwzyCm2K19SMbplHOs98SY8+Z4pYoXYxaqbG7Pe+yp15ZFo= X-Received: by 2002:a05:6512:454:b0:529:b697:a0d6 with SMTP id 2adb3069b0e04-529b697a37cmr3423216e87.8.1716954203343; Tue, 28 May 2024 20:43:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Muhammad Imtiaz Date: Wed, 29 May 2024 08:43:11 +0500 Message-ID: Subject: Re: tds_fdw >> Install Foreign data Wrapper on EDB Postgres to connect to SQL server database To: Ian Lawrence Barwick Cc: Sumit Kochar , "pgsql-general@lists.postgresql.org" Content-Type: multipart/alternative; boundary="00000000000062f39006198f8d29" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000062f39006198f8d29 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi , You need to install the LLVM toolset. 1)Check that if it is installed or not : yum list installed | grep llvm-toolset 2)If it is not installed, you can install it using the following command. sudo yum install llvm-toolset-7 Regards, Muhammad Imtiaz On Wed, 29 May 2024 at 05:27, Ian Lawrence Barwick wrote: > 2024=E5=B9=B45=E6=9C=8829=E6=97=A5(=E6=B0=B4) 6:10 Sumit Kochar : > > > > Installation of Foreign data Wrapper on EDB Postgres to connect to SQL > server database is not working. > > > > > > > > https://github.com/tds-fdw/tds_fdw/issues/357 > > > > > > > > Please advise if this has been encountered or a workaround is available= . > (...) > > > [root@hostip tds_fdw-2.0.3]# make USE_PGXS=3D1 install > > > > /opt/rh/llvm-toolset-7/root/usr/bin/clang -Wno-ignored-attributes > -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 > -I./include/ -fvisibility=3Dhidden -I. -I./ -I/usr/edb/as13/include/serv= er > -I/usr/edb/as13/include/internal -I/usr/libexec/edb-icu66/include/ > -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -flto=3Dthin -emit-l= lvm > -c -o src/tds_fdw.bc src/tds_fdw.c > > > > make: /opt/rh/llvm-toolset-7/root/usr/bin/clang: Command not found > > IIRC you'll need to find and install the SCLO package for Oracle Linux > 7, assuming it's > available. For CentOS it's this repository: > http://mirror.centos.org/centos/7/sclo/ . > > Regards > > Ian Barwick > > > --00000000000062f39006198f8d29 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi ,

You need to i= nstall the=C2=A0 LLVM toolset.

1)Check that if it is installed or not :
yum list installed | grep llvm-toolset 2)If i= t is not installed, you can install it using the following command.<= /div>
sudo yum install llvm-tools= et-7
Regards,
Muhammad Imtiaz


On Wed, 29 May 2024 at 05:27, Ian Lawrence = Barwick <barwick@gmail.com> = wrote:
2024=E5= =B9=B45=E6=9C=8829=E6=97=A5(=E6=B0=B4) 6:10 Sumit Kochar <Sumit.Kochar@mastercard.= com>:
>
> Installation of Foreign data Wrapper on EDB Postgres to connect to SQL= server database is not working.
>
>
>
> https://github.com/tds-fdw/tds_fdw/issues/357<= br> >
>
>
> Please advise if this has been encountered or a workaround is availabl= e.
(...)

> [root@hostip tds_fdw-2.0.3]# make USE_PGXS=3D1 install
>
> /opt/rh/llvm-toolset-7/root/usr/bin/clang -Wno-ignored-attributes -fno= -strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2=C2=A0 -I./in= clude/ -fvisibility=3Dhidden=C2=A0 -I. -I./ -I/usr/edb/as13/include/server = -I/usr/edb/as13/include/internal -I/usr/libexec/edb-icu66/include/ -D_GNU_S= OURCE -I/usr/include/libxml2=C2=A0 -I/usr/include -flto=3Dthin -emit-llvm -= c -o src/tds_fdw.bc src/tds_fdw.c
>
> make: /opt/rh/llvm-toolset-7/root/usr/bin/clang: Command not found

IIRC you'll need to find and install the SCLO package for Oracle Linux<= br> 7, assuming it's
available. For CentOS it's this repository:
http://mirror.centos.org/centos/7/sclo/ .

Regards

Ian Barwick


--00000000000062f39006198f8d29--