Re: postgresql14-contrib does not install with libpython 3.7

Поиск
Список
Период
Сортировка
От Daniel RC
Тема Re: postgresql14-contrib does not install with libpython 3.7
Дата
Msg-id CAHMb7R+OL8XsmOYoim=Q=2NWi2-N605SJ_CzFW9+JZFJhFnSuQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgresql14-contrib does not install with libpython 3.7  (Marcia Rocha <mar.rocha@gmail.com>)
Ответы Re: postgresql14-contrib does not install with libpython 3.7  (Marcia Rocha <mar.rocha@gmail.com>)
Re: postgresql14-contrib does not install with libpython 3.7  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

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.rocha@gmail.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.rocha@gmail.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
Вложения

В списке pgsql-admin по дате отправления:

Предыдущее
От: Marcia Rocha
Дата:
Сообщение: Re: postgresql14-contrib does not install with libpython 3.7
Следующее
От: ryaz aws
Дата:
Сообщение: PGAdmin Multi User