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 1tbMRu-00A6o8-1O for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2025 16:22:26 +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 1tbMRt-00Fvyw-4v for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2025 16:22:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tbMRr-00Fvu4-Ph for pgsql-general@lists.postgresql.org; Fri, 24 Jan 2025 16:22:24 +0000 Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tbMRp-001IP7-0b for pgsql-general@postgresql.org; Fri, 24 Jan 2025 16:22:22 +0000 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfhigh.stl.internal (Postfix) with ESMTP id 705382540235; Fri, 24 Jan 2025 11:22:20 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Fri, 24 Jan 2025 11:22:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1737735740; x=1737822140; bh=MNDmVgVad+xncwAxc61tEB4Ih5LpJu+B5hdSCm3fW0Q=; b= pErsiRR/m6i2z2SKgE3PCMEtxd+HrhZ+s8eu4uveym0Ka9g0d/mcSIpvfhghyVqC XlBYyvK4Kp5yh+q7nyKPPSaPHvysgSYPhry8lyTtWeIj+VlbzY7oUv8vIzBquOjN JmdE2bBYIzxDw2vAoDx3cUzgwujiWXV6mSFLinQgTh0OPA5AG7ih3pQyVgzi1E3w eNWKpP9NGImuNChh9yhibf2MpMDr1Y94S45VxMxsGb/lKGDrkRX2NjajNoJ7LA5s c6zZ8u1egDPH+ZHaEuNy9V+UfKo9/8Tdbfryn3ZAEGa7zeXA3jFplDjvpLPyVigK KKmP27MXTYhtfy6TsEPTrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1737735740; x= 1737822140; bh=MNDmVgVad+xncwAxc61tEB4Ih5LpJu+B5hdSCm3fW0Q=; b=W J0+VOGjV+E1FG/FRF8gFk369Vt8lptJ3LnkTnaM+0FG9RPfTaz8pCGLRHGZwaFYE JX+TEZrnb8fbMcKHWT8YJMvX3IoIWc6onPsMbrggCcc8t1tfw+XpTxOJ1aZFM1Kq 34F9RBWsX6HQAGiy9btMGJtecEDPxIUcvpqKOeQK3yDIL4vXM2f/8ErLHavu4rTW uQx5kSY757qKGIbTjVPuHW4jQUgnJmG7rpEObsTteROnQTfqn2E/dWWd8oCOCC+Y o3i1Oz+22kUSG9vpdd96DiIhhu6rTx50G+/PA7Ea32sW92qBFFciWz2Eaa0I/EBU h8Xe1nNS9mQeZAhW0v7dA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudejgedggeelkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddv jeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeeffeekheefteekieeh fefhudeluddvkefhhfelfeelffevjedttdfhheettdehieenucffohhmrghinhepiehmrd hsohdpgiekiegpieegrdhinhdprhgvughhrghtrdgtohhmnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrg hklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhht pdhrtghpthhtohepvghsthgvvghmsghsvhdqfhhorhhumheshigrhhhoohdrtghomhdprh gtphhtthhopehhthgrmhhfihgushesghhmrghilhdrtghomhdprhgtphhtthhopehrohhn lhhjohhhnhhsohhnjhhrsehgmhgrihhlrdgtohdprhgtphhtthhopehpghhsqhhlqdhgvg hnvghrrghlsehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 Jan 2025 11:22:19 -0500 (EST) Message-ID: Date: Fri, 24 Jan 2025 08:22:18 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Help in vetting error using "pg_upgrade" - steps for Postgres DB upgrade from Ver 13.X to ver 15.X To: Bharani SV-forum , Greg Sabino Mullane , "ronljohnsonjr@gmail.co" Cc: pgsql-general References: <0558ddd4d71641bdb41fa49b2425f73c@safrangroup.com> <98965993.3138805.1731699978332@mail.yahoo.com> <564950518.5117550.1733177884387@mail.yahoo.com> <07ab2d83-ffe5-4bec-9626-22a68f732579@aklaver.com> <273a88dc-4134-47d5-bc19-30ff5f97926c@aklaver.com> <498dfb34-4dd7-4f48-8188-355e1488d7e6@aklaver.com> <1061066336.5835157.1733316137292@mail.yahoo.com> <1482982714.8486017.1735661703839@mail.yahoo.com> <1763130721.4001842.1737733841628@mail.yahoo.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <1763130721.4001842.1737733841628@mail.yahoo.com> 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 1/24/25 07:50, Bharani SV-forum wrote: > Team > Need your additional input. > VM is based on EC2 OS Version = Amazon Linux 2 > Existing DB version = 13.X - Pg Community under EC2 - VM (Same VM) > Target DB version = 15.x  - Pg Community under EC2 - VM (Same VM) > > i will narrate the latest error > > > > executing: SELECT pg_catalog.set_config('search_path', '', false); > Checking for presence of required libraries                 fatal > > > Any guidance how to come the error. > > my unix system admin is quoting that  he is facing built issue with > postgres15 version w.r.to " postgresql15-contrib.x86_64 " > under AWS based OS " Amazon Linux 2  ". > His version is "It needs libpython3.6m.so.1.0()(64bit) to install > package: postgresql15-contrib-15.10-1PGDG.rhel7.x86_64. in our > environment. I can't install python3.6 libraries because we already have > a different python version installed and clashing" From what I know Amazon Linux 2 is a RH clone, confirmed by postgresql15-contrib-15.10-1PGDG.rhel7.x86_64 above. From link below it seems it is possible to run multiple versions of Python together RH7 so it should work on AL2 also(?): https://developers.redhat.com/blog/install-python3-rhel#installing_python_3_on_rhel_7 > > Any quidance to overcome the error, as the existing python version being > used by us is clashing with the pre.req version python ver 3.6 > > My unix admin, too quoted me to have it installed under OS RHEL7 w.r.to > postgresql - EC2 version > Best Viable option. I have tried with previous suggestion steps and > found "pg_upgrade" as the most viable and faster > > Regards -- Adrian Klaver adrian.klaver@aklaver.com