pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel RC <drobcosta@gmail.com>
Cc: Marcia Rocha <mar.rocha@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: postgresql14-contrib does not install with libpython 3.7
Date: Thu, 24 Feb 2022 10:35:52 -0500
Message-ID: <1348575.1645716952@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHMb7R+OL8XsmOYoim=Q=2NWi2-N605SJ_CzFW9+JZFJhFnSuQ@mail.gmail.com>
References: <CAMS8d+GpiKS1x-Xh6E9jJ+P=qM9d16f2TgEmjMD2=+eH82yKPQ@mail.gmail.com>
	<CAMS8d+H1u+M6Rqja=GZOXtRb9U2O4H9HTSogPLsLE+hzF2CYrw@mail.gmail.com>
	<CAMS8d+HdcqVuiLxFQUjfcrGAcsgZ+Qqzjqb+dU2+a-GRK87qRQ@mail.gmail.com>
	<CAHMb7R+OL8XsmOYoim=Q=2NWi2-N605SJ_CzFW9+JZFJhFnSuQ@mail.gmail.com>

Daniel RC <drobcosta@gmail.com> writes:
> Hello Marcia.
> Have you tried compiling PostgreSQL?

Yeah ... I don't have a RHEL7 installation handy, but the official Python
installation in my RHEL8 workstation is 3.6.8, so it's impossible to
believe that RHEL7 shipped with Python 3.7.  What you have there is a
nonstandard software environment, and if you want to stick with it that's
going to mean doing some of your own building.

However, rather than compiling directly from source as Daniel suggests,
I'd suggest grabbing the SRPM for the package version you want and
building RPMs from that locally.  This is, generally, even easier than
building raw source, and it will make for a much easier transition from
your existing RPM-based installation of PG.

			regards, tom lane





view thread (13+ messages)  latest in thread

Message-ID: <1348575.1645716952@sss.pgh.pa.us>
Permalink:  ../1348575.1645716952@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1348575.1645716952@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, drobcosta@gmail.com, mar.rocha@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: postgresql14-contrib does not install with libpython 3.7
  In-Reply-To: <1348575.1645716952@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox