From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Bharani SV-forum <esteembsv-forum(at)yahoo(dot)com>, Greg Sabino Mullane <htamfids(at)gmail(dot)com>, "ronljohnsonjr(at)gmail(dot)co" <ronljohnsonjr(at)gmail(dot)co> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Help in vetting error using "pg_upgrade" - steps for Postgres DB upgrade from Ver 13.X to ver 15.X |
Date: | 2025-01-24 16:22:18 |
Message-ID: | c3fc88ef-d155-4455-bc01-2c569b401998@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Bharani SV-forum | 2025-01-24 18:01:27 | Re: Help in vetting error using "pg_upgrade" - steps for Postgres DB upgrade from Ver 13.X to ver 15.X |
Previous Message | Bharani SV-forum | 2025-01-24 15:50:41 | Help in vetting error using "pg_upgrade" - steps for Postgres DB upgrade from Ver 13.X to ver 15.X |