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 1tbNzy-00AKj2-LI for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2025 18:01:43 +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 1tbNzw-00GDDZ-4E for pgsql-general@arkaria.postgresql.org; Fri, 24 Jan 2025 18:01:40 +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 1tbNzv-00GDDQ-OX for pgsql-general@lists.postgresql.org; Fri, 24 Jan 2025 18:01:39 +0000 Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tbNzs-001JGw-0e for pgsql-general@postgresql.org; Fri, 24 Jan 2025 18:01:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1737741692; bh=7MNqeYSqnPH4+GZzyrcfaPXVqZtiNpS3dL9ZMxyJ92I=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=XM08wDLxvT1dfgRgwH2QsHIJKFvx7CY8BcD/xvIfbzdSiFQfr7axn1fEMM8fqq44LFDMIFdOIhAl7hQJflaVO2vqic/gR1MhC+xujYyrB1IwleOmvcGekalAoWhfndmDPH0J0zeqtuey2Tx8i/VeWuIHw6MzHukbOX8Z52njWWmEIN1DKwyECnsgJ3PD/830z4K5djsTVnOaZbSXHV4Zlt+sCl1iLfvPbIurRMJY8Lk3IU47mMsPgvxIo8a5RbDUhEaebVjU2QDbuKbdTSdfGN+B2kqrnGD8zRpdHtxRhwA5YQOum9eZPCZUT+39oLVWckQU9Mt7jPw7YRfM0cNrkg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1737741692; bh=BZxj040b1sf12jBNXea9BZJum5yv2fDl6F85NCOlk/T=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=KdBHCOEJfM9AhZw5B1oEBk+o35Jt+ca8kuZbgFMm433NAE5y7vuGtXI5AHvhg35IVI0lUs5RSNnth8OHias171wwMFjAez9oX4OfPOtzvfiWa3wwCimAFr2ArcrlSsQtYejQojLEkJP1p/VmDCkV+cRSCB60t+mdgvDxL/627jThXKY5LBs05kmSK/jjMVI2PZ2ntg/M02MPavDl1+zrPxph8IiAU9J/4x8JUe67CNzZlPHK6OOq7DOf/pnbBcj5RbfU6nOxTd2VIVMIbWq8fWvq+ov2rFdOYD7IIXPJM3z1/s7eykwR+ZRvAi8HzBTeENWU3cWJLlQSvfrRf0Gdfw== X-YMail-OSG: tO9hbIoVM1nEEUUdOHv_Ay6NI78ox8qteVp_JeL.thwkmVZXVyuv19NCkU7gnzG Z.ZRYdnzI..BQWt51YimEcifySi6SRsMwsu74TmDIOwWYSe8tM8kPUQPvqqo.N0Wq6C9uJ6.fyXG HkzU64GOyw4P2t61t7q2iIMsVK3Kl7BiWvlI7hj0f9xwYn83CAs25OjHcpF.U4vO0SYJq7FpQjFT mga804SxHc3K0WNk8RRj0.SpXnW2XBApxm5K9QX7_KD8vQ6YK1VA7jEkSEX9Y8bgr0kBU7fekSlC llj4_bl79gySZiD7UzfB_tXUlPaNsCPGY8xW1hMEv1eERizXB_OMXxVRHiFbe7Hg_RegxXApasuv CgfdM919DjVNM2gnB3x0dawk_.LhBdzqOGhUkSorRkJCIgM1VbfjjXynQXWyQlYvo5g6slDkvAQy IOa_7.i1Xels_Zn.yKmB.ZkBSCuK5x7FEjp47pE64iAIyu6CqZK6.KkrZCQhg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YtDfcgjN4mO cd9zzGiplEQPok_KVWuvH16nFr2zAOMHOxI1zIfNPjpfGXoT_D64u4QPyyhrLhjmrQyNrp37CFou XPLQsBrLthykieOcXZuROVPFsn328LPIR4P0TrxKBxU_F.VpRRjuSjeIsO6IciGyOIhlcIpQjtOE 7._W7pC43t1YGjzt2i4xYMVzUSqXoSXNtyNwMQJfPAAnRSKgkJ3TN6DIiV5vZGCSKhZUL_nQOJCy S8AIYlxvUfNdHb0hGljG4gX_Y8GMVbMtyVWQoAX.sm_vvNVoqgq6Vg7O21IGevtpqg4yRkXrnZkC nF5t0mHfAU8EijdIXpnoYdP89mcB7Fwt9SCNctN1CjYEG20Zpe_4wBeizFlcyg1fRI7k5rEpWNsl 2LO35aelfJfmSY8fYll56RE4pQLlknuodmHedHcXnLV0_2Dmu.lbBzbn70XPu1vz08iacOR9fIfL Og4oHgH6zMj7i9UM7ed0QAIQYwj7JyTkAPBEnE5NHO8NxO_ocMnv._YdC15P5wFjyDkZ6axzHhh3 06mA9gnNeCB5cyGP69iHUeQZjjG9CQ0WK2Yq035mADq46WY2NTr8QJjUdeP75qtUbVn9aaFVjVtZ ivycm4SiPfu1xhPKhqNMpzqcsHUBLhiBjv7WIUMdUH_O96zhYoTmiqEPJdz6rNZNyNQ_jwWYq8ra 463n4nCp.eJfLR2PKjtSWv.PEGxnpPkuGfz.uoWvY_xz08jU48fY3uAhTSImXDtxGYV_ciCRopGV R5A-- X-Sonic-MF: X-Sonic-ID: c0cd7987-bafd-43c6-862c-1dd17548a847 Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Fri, 24 Jan 2025 18:01:32 +0000 Date: Fri, 24 Jan 2025 18:01:27 +0000 (UTC) From: Bharani SV-forum To: Greg Sabino Mullane , "ronljohnsonjr@gmail.co" , Adrian Klaver Cc: pgsql-general Message-ID: <132487461.4068668.1737741687606@mail.yahoo.com> In-Reply-To: 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> Subject: Re: Help in vetting error using "pg_upgrade" - steps for Postgres DB upgrade from Ver 13.X to ver 15.X MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4068667_273557996.1737741687604" X-Mailer: WebService/1.1.23187 YMailNorrin Content-Length: 7459 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ------=_Part_4068667_273557996.1737741687604 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable AdrianThanks This is the exact error which the system admin is facing =C2=A0postgresql15-contrib installation on Amazon Linux 2 fails on Python s= hared lib dependency "https://www.postgresql.org/message-id/CABUevEz_OHR%2BaGU%2B7yuhpfJD%2BeWgC= 8aHgVRjP5U30kJqu%2B7jmg%40mail.gmail.com" On Friday, January 24, 2025 at 11:22:23 AM EST, Adrian Klaver wrote: =20 =20 On 1/24/25 07:50, Bharani SV-forum wrote: > Team > Need your additional input. > VM is based on EC2 OS Version =3D Amazon Linux 2 > Existing DB version =3D 13.X - Pg Community under EC2 - VM (Same VM) > Target DB version =3D 15.x =C2=A0- Pg Community under EC2 - VM (Same VM) >=20 > i will narrate the latest error >=20 >=20 >=20 > executing: SELECT pg_catalog.set_config('search_path', '', false); > Checking for presence of required libraries=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fatal >=20 >=20 > Any guidance how to come the error. >=20 > my unix system admin is quoting that=C2=A0 he is facing built issue with= =20 > postgres15 version w.r.to " postgresql15-contrib.x86_64 " > under AWS based OS " Amazon Linux 2=C2=A0 ". > His version is "It needs libpython3.6m.so.1.0()(64bit) to install=20 > package: postgresql15-contrib-15.10-1PGDG.rhel7.x86_64. in our=20 > environment. I can't install python3.6 libraries because we already have= =20 > a different python version installed and clashing" From what I know Amazon Linux 2 is a RH clone, confirmed by=20 postgresql15-contrib-15.10-1PGDG.rhel7.x86_64 above. From link below it seems it is possible to run multiple versions of=20 Python together RH7 so it should work on AL2 also(?): https://developers.redhat.com/blog/install-python3-rhel#installing_python_3= _on_rhel_7 >=20 > Any quidance to overcome the error, as the existing python version being= =20 > used by us is clashing with the pre.req version python ver 3.6 >=20 > My unix admin, too quoted me to have it installed under OS RHEL7 w.r.to= =20 > postgresql - EC2 version > Best Viable option. I have tried with previous suggestion steps and=20 > found "pg_upgrade" as the most viable and faster >=20 > Regards --=20 Adrian Klaver adrian.klaver@aklaver.com =20 ------=_Part_4068667_273557996.1737741687604 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Adrian
Thanks
<= br>
This is the exact error whi= ch the system admin is facing
<= br>

 postgresql15-contrib installat= ion on Amazon Linux 2 fails on Python shared lib dependency


=
"https://www.postgresql.org/messa= ge-id/CABUevEz_OHR%2BaGU%2B7yuhpfJD%2BeWgC8aHgVRjP5U30kJqu%2B7jmg%40mail.gm= ail.com"

=20
=20
On Friday, January 24, 2025 at 11:22:23 AM EST, Adr= ian Klaver <adrian.klaver@aklaver.com> wrote:


=20 =20
On 1/24/25 07:50, Bharani SV-forum wr= ote:
> Team
> Need your additiona= l input.
> VM is based on EC2 OS Version =3D Amazon Li= nux 2
> Existing DB version =3D 13.X - Pg Community un= der EC2 - VM (Same VM)
> Target DB version =3D 15.x &n= bsp;- Pg Community under EC2 - VM (Same VM)
>
> i will narrate the latest error
>
>
>
> executi= ng: SELECT pg_catalog.set_config('search_path', '', false);
> Checking for presence of required libraries      &nb= sp;          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 in= stall
> package: postgresql15-contrib-15.10-1PGDG.rhe= l7.x86_64. in our
> environment. I can't install pyth= on3.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 multi= ple versions of
Python together RH7 so it should work on= AL2 also(?):

https://developers.redha= t.com/blog/install-python3-rhel#installing_python_3_on_rhel_7


>
> Any quidance to overcome= the error, as the existing python version being
> us= ed by us is clashing with the pre.req version python ver 3.6
>
> My unix admin, too quoted me to have it in= stalled under OS RHEL7 w.r.to
> postgresql - EC2 vers= ion
> Best Viable option. I have tried with previous s= uggestion steps and
> found "pg_upgrade" as the most = viable and faster
>
> Regards


--
Adrian Klaver
adrian.klaver@ak= laver.com


------=_Part_4068667_273557996.1737741687604--