Team
Need your help.
We are trying to use existing VM with underlying OS = Amazon Linux 2 (AL2) along with Pgsql ver 13.X community edn.
Trying to upgrade from 13.X to 15.X and had hit the bottleneck for the mandate to have python ver 3.X binaries.
We have limitation with the existing VM with AWS and currently AL2 uses the
yum
package manager that has a hard dependency on Python 2.7 and the pgsql ver 15. needed Ver 3.x python binaries and the package community edition (pgsql ver 15.x) "postgresql15-contrib.." is not getting installed.We have limitation , where the application being used is having python ver 2.x binaries and we cannot install python 3.x binaries , as we have the underlying OS with AL2 which is having "a hard dependency on Python 2.7"
In lieu of using pgsql ver 15.X. We are OK to upgrade to the next version which is 14.X from existing ver 13.X.
Can anyone re-confirm if the Community edition (pgsql ver14.x) - "postgresql14-contrib .." needed python ver 2.X binaries or Ver 3.X binaries.
I cross checked and found one of the url " Install Postgres v14 + -contrib on AWS Linux 2 | the gabriellephant" is quoting pgsql ver 14.x needed python ver 3.x binary
On Friday, January 24, 2025 at 02:14:56 PM EST, Adrian Klaver <adrian.klaver@xxxxxxxxxxx> wrote:
On 1/24/25 10:01 AM, Bharani SV-forum wrote:
> Adrian
> Thanks
>
> This is the exact error which the system admin is facing
>
>
> postgresql15-contrib installation on Amazon Linux 2 fails on Python
> shared lib dependency
Which from your post the admin said was due to:
"His version is "It needs libpython3.6m.so.1.0()(64bit)" "
Note the libpython3.6.
The link I posted previously:
https://developers.redhat.com/blog/install-python3-rhel#installing_python_3_on_rhel_7
Shows how to install Python 3.6