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 1sC7BQ-003GT7-Gi for pgsql-general@arkaria.postgresql.org; Wed, 29 May 2024 00:28:49 +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 1sC7AR-00CQdB-Pu for pgsql-general@arkaria.postgresql.org; Wed, 29 May 2024 00:27:47 +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 1sC7AR-00CQd3-CR for pgsql-general@lists.postgresql.org; Wed, 29 May 2024 00:27:47 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sC7AO-001GHg-AE for pgsql-general@lists.postgresql.org; Wed, 29 May 2024 00:27:46 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1f480624d0fso12123015ad.1 for ; Tue, 28 May 2024 17:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716942462; x=1717547262; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pkAfnbbZR8vymnHxhZ5OW8H9y2j8mkwZk7fee74vftc=; b=RyAk9VwfFU0HHdieXjvkxI1T8Gdqu6x5t73v781M0qpRcvj6M2EcbmXjsvti1j5lbn yVPidp8rbUdRvBbUPdYBYW/YBacynkiCuCPOTOUY+i2XU4T62ILpzh2HyqLupS9u/zli 5iyJsp7w1saY7pc7lSGez8HF1c6YH1DaIV0YHIGlswq73e9caG2eB8t+h2G+Z/4j2xyk 4IPWsXDlKu1Jci/0pkhAaZHOyFfsVVjtEINLQ2HqzH0NDUVUHXVDu5ewgyesK/veKKwp CKP4fQtxyqtAwyKLDo+f23Gn6iJJf4SQv63C/9JYg+zYK5oxL8Ce7qUV1l0YToVTXtRI aztw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716942462; x=1717547262; h=content-transfer-encoding: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=pkAfnbbZR8vymnHxhZ5OW8H9y2j8mkwZk7fee74vftc=; b=lYf9tgFIS3ELmHqe2QB/4NPdmvjdUPwGwJoHg+q0uVfkI08T+zBYfr04HDVZR4Ashk e/qUG7tpu/U8xcRObqIWWy3D9Dk4Thz8SrZdCpWUhDN9gPYkbo5pmdMlv+vERfk6qRpG CasbRZTWrjGVJJXwOTjjfTryMxDRWd0u/TP5TOvsV+kQGBcyMJ9NhN/vT4Zw0vHg+Pu4 5wSa2BJwx7Ah+YRik4y6idaOpDiwxLws0wM95qtE6mj+oXa4X30t+Ib++D92eA1DK7XS J3HLeRArdx7lGI323mO7xMcVfLbuqgzf1ankMhUixXBBEMAhQG7SUNLYJw+8mfGh03c3 Dfsw== X-Gm-Message-State: AOJu0Yz4g0AjmhI0crXtRlKm5WnslwWoUZOs2aldr+CBV3Wq+g9xkmXu klLq/pfqMZEH1CoHh+N3H23wndVDm+1ToeTSUAp/dHCnbpYXzZRRbxDN2eLQAJoSqwgMshrOoqI hO2J2rvZ5sYvlFC6M2qH9+diwl1TRhwOs X-Google-Smtp-Source: AGHT+IFTCitFzJnZQz/kHWlevWy+OCnu44T77IcEeFLhMek0h864pOK1wi0MEw7Jzhs1IhvBnXSwi0GNOlCIxU3333g= X-Received: by 2002:a17:90b:4a4f:b0:2b6:5156:5b9b with SMTP id 98e67ed59e1d1-2bf5f71557emr12409323a91.35.1716942462177; Tue, 28 May 2024 17:27:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ian Lawrence Barwick Date: Wed, 29 May 2024 09:27:30 +0900 Message-ID: Subject: Re: tds_fdw >> Install Foreign data Wrapper on EDB Postgres to connect to SQL server database To: Sumit Kochar Cc: "pgsql-general@lists.postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 se= rver 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-st= rict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -I./include/ -= fvisibility=3Dhidden -I. -I./ -I/usr/edb/as13/include/server -I/usr/edb/as= 13/include/internal -I/usr/libexec/edb-icu66/include/ -D_GNU_SOURCE -I/usr/= include/libxml2 -I/usr/include -flto=3Dthin -emit-llvm -c -o src/tds_fdw.b= c 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