Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n3hS1-0007Pr-LB for pgsql-general@arkaria.postgresql.org; Sat, 01 Jan 2022 16:41:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n3hS0-0000f3-90 for pgsql-general@arkaria.postgresql.org; Sat, 01 Jan 2022 16:41:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n3hRy-0000et-JQ for pgsql-general@lists.postgresql.org; Sat, 01 Jan 2022 16:41:47 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n3hRv-0000DH-Bt for pgsql-general@postgresql.org; Sat, 01 Jan 2022 16:41:45 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 2E0DE3200A16; Sat, 1 Jan 2022 11:41:41 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 01 Jan 2022 11:41:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=6 NiTlWJGF8TkTj7+E4xSR/TejDto24qCR7lgW5TICmo=; b=EcanmQbZ16hmTYvuo 74zhrPROK0496WVcqh8OfqlanhhAVljuE/CHexg84AkPGG03EMiUEq9oeNcPLIaV kIZr3ygN2l0SQ2az9qEDpJ8n5JBWoJG1yWjjzjYrqusP/pedVBsy/s2IeuxpI0Zg cr+k3x4Fz/crcOGLYZA/mcxu413eHKpk3OiEliXldjeTN9K1ezpXvxWjGvdIGY9h Azewomp6tuKu3mk1WzaO8tQuAKCvSHhom7YVlP9UdxPNnben3uBcCqhbeOrgv973 TmZutxMxMtnoh5NgoFtNVQx5gBOtV2wmQLaOVnwYLlc9OF5VfVvKH6X1p5Lz2vjI Ym1BA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=6NiTlWJGF8TkTj7+E4xSR/TejDto24qCR7lgW5TIC mo=; b=Yxo1zy4hkLofLKY4e4moG4zt+/81/IRwVQo7GsJiaVLLeEIe26VcYzent 1NI6hdnvBqYVHFbzY2kbdg8yAAy/pRsiMRPmB4t3UluEmqC0qV3/Mvlg+MF5+hDd SCx/itlvR+wZoxyNHl9xAtFdeiDFGx6z4AynnRtAsiFPGylnWbfmBSKcPIuBlCtB ZP3gh/h/m84SXREeRpGjDBdYi0LiHS8QT9Z3835eY0yaVsm8fJFMuvgtFC4j/Nwp 9O9zkCZgU4xCC9RBVnbTZUMv+RPQiSkbMpl6+PdC8FN+pYj5+qcWQ3DkvxBK4fEQ JaEnauoPqmQ0tA8Btz1IvDwu557ig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvjedgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpedugfeuleegveffhfegleejhefhtedtgeeileeggfeh fefffeevgeejtdeutefftdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 1 Jan 2022 11:41:39 -0500 (EST) Message-ID: <2bc1ee73-062a-6400-1cef-e38efe60db1c@aklaver.com> Date: Sat, 1 Jan 2022 08:41:39 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: pg_config header files are missing - Postgres 13 - Amazon Linux 2 Content-Language: en-US To: Hasan Marzooq , Magnus Hagander Cc: pgsql-general@postgresql.org References: From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/30/21 18:32, Hasan Marzooq wrote: > Hi. > I tried "yum install centos-release-scl-rh" before but it gives the > below error. > ------ > # yum install centos-release-scl-rh > Loaded plugins: extras_suggestions, langpacks, priorities, update-motd > 213 packages excluded due to repository priority protections > No package centos-release-scl-rh available. > Error: Nothing to do > -------- > > Postgres 9.6 on this machine (Amazon Linux 2) is installed via PGDG > repo, so I tried installing Postgres 13 as well, and I can see it has > installed but only one more package I need that is > "postgresql13-devel.x86_64" which needs another dependency " > llvm-toolset-7-clang >= 4.0.1" that is not available from the same repo. > > --- > yum list installed | grep -i postgres > postgresql13.x86_64                13.5-1PGDG.rhel7                  @pgdg13 > postgresql13-contrib.x86_64        13.5-1PGDG.rhel7                  @pgdg13 > postgresql13-libs.x86_64           13.5-1PGDG.rhel7                  @pgdg13 > postgresql13-server.x86_64         13.5-1PGDG.rhel7                  @pgdg13 > postgresql96.x86_64                9.6.24-1PGDG.rhel6                @pgdg96 > postgresql96-contrib.x86_64        9.6.24-1PGDG.rhel6                @pgdg96 > postgresql96-devel.x86_64          9.6.24-1PGDG.rhel6                @pgdg96 > postgresql96-libs.x86_64           9.6.24-1PGDG.rhel6                @pgdg96 > postgresql96-server.x86_64         9.6.24-1PGDG.rhel6                @pgdg96 > --- Not sure if it will make a difference, but your 9.6 instance is using the rhel6 repo and the 13 is using rhel7. -- Adrian Klaver adrian.klaver@aklaver.com