Re: postgresql14-contrib does not install with libpython 3.7

From: Daniel RC <drobcosta(at)gmail(dot)com>
To: Marcia Rocha <mar(dot)rocha(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: postgresql14-contrib does not install with libpython 3.7
Date: 2022-02-24 13:04:03
Message-ID: CAHMb7R+OL8XsmOYoim=Q=2NWi2-N605SJ_CzFW9+JZFJhFnSuQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello Marcia.

Have you tried compiling PostgreSQL?
Maybe it's a way to install it on Amazon Linux.
I created an environment with PostgreSQL running on Amazon Linux and here
are the commands I ran:

[root]# yum groupinstall "Development tools"

[root]# useradd postgres

[root]# yum install readline-devel
[root]# yum install zlib-devel

[root]# cd /home/postgres/
[root]# su postgres
[postgres]$ wget
https://ftp.postgresql.org/pub/source/v14.2/postgresql-14.2.tar.bz2

[postgres]$ tar -xvf postgresql-14.2.tar.bz2

[root]# cd postgresql-14.2/

[root]# ./configure

[root]# make
[root]# su postgres
[postgres]$ make check
[root]# make install
[root]# su postgres

[postgres]$ /usr/local/pgsql/bin/initdb -D /home/postgres/pgdata
[postgres]$ /usr/local/pgsql/bin/pg_ctl -D /home/postgres/pgdata -l
/home/postgres/pgdata/logfile start
[postgres]$ /usr/local/pgsql/bin/createdb test
[postgres]$ /usr/local/pgsql/bin/psql test

[image: Captura de tela de 2022-02-24 10-03-19.png]

Hope this helps.
Best regards.
Daniel Robert Costa

Em qui., 24 de fev. de 2022 às 07:31, Marcia Rocha <mar(dot)rocha(at)gmail(dot)com>
escreveu:

> Hello
> Is there some news about this mail? I really need your help related to my
> issue.
>
> Best regards
> Marcia
>
> On Tue, Feb 22, 2022 at 12:13 PM Marcia Rocha <mar(dot)rocha(at)gmail(dot)com> wrote:
>
>>
>>> Hello
>>> I've tried to install postgresql14-contrib but I my system has libpython
>>> 3.7 and the installation has below error:
>>> the Error: Package: postgresql14-contrib-14.2-1PGDG.rhel7.x86_64 (pgdg14)
>>> Requires: libpython3.6m.so.1.0()(64bit)
>>>
>>> my OS - Amazon Linux release 2 (Karoo)
>>>
>>> How to solve this?
>>>
>>> Best regards
>>> Marcia
>>>
>>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message ryaz aws 2022-02-24 15:28:26 PGAdmin Multi User
Previous Message Marcia Rocha 2022-02-24 10:30:43 Re: postgresql14-contrib does not install with libpython 3.7