Hello Marcia.
Have you tried compiling PostgreSQL?
Maybe it's a way to install it on Amazon Linux.
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
[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
[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
Hope this helps.
Best regards.
Daniel Robert Costa
Em qui., 24 de fev. de 2022 às 07:31, Marcia Rocha <mar.rocha@xxxxxxxxx> escreveu:
HelloIs there some news about this mail? I really need your help related to my issue.Best regardsMarciaOn Tue, Feb 22, 2022 at 12:13 PM Marcia Rocha <mar.rocha@xxxxxxxxx> wrote:
HelloI'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 regardsMarcia