Re: postgresql14-contrib does not install with libpython 3.7

From: Marcia Rocha <mar(dot)rocha(at)gmail(dot)com>
To: Daniel RC <drobcosta(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 15:30:53
Message-ID: CAMS8d+F=m=q75rHcveJ1K-i7LpavfF6C4GxR6USHrgpBzw4rZA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello, Daniel
Thanks for your suggestion, I did not compile yet, because my problem is
not related to postgres installation but only related to package contrib.
Do you know if using these sources the contrib package will be included
too?
Best regards
Marcia

On Thu, Feb 24, 2022 at 1:04 PM Daniel RC <drobcosta(at)gmail(dot)com> wrote:

> 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

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2022-02-24 15:35:52 Re: postgresql14-contrib does not install with libpython 3.7
Previous Message ryaz aws 2022-02-24 15:28:26 PGAdmin Multi User