Re: pguint Installation error in PostgreSQL server version 11.2

From: Suresh Seema <suresh(dot)seema(at)opsveda(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pguint Installation error in PostgreSQL server version 11.2
Date: 2019-07-24 07:09:42
Message-ID: CAJWZN5GH85_3EAZwkQrLLnxAJtnVs=C9Nm0j9QVu-RR5U1XrNA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Tom,

Thanks for your support, but i have installed PostgreSQL packages from RPM
repo not from Source code.

Please find RPM repo below.

*[pgdg11-source]name=PostgreSQL 11 $releasever - $basearch -
Sourcefailovermethod=prioritybaseurl=https://download.postgresql.org/pub/repos/yum/srpms/11/redhat/rhel-$releasever-$basearch
<https://download.postgresql.org/pub/repos/yum/srpms/11/redhat/rhel-$releasever-$basearch>*

Please suggest me on this.

Regards,
Suresh Seema

On Sun, Jul 21, 2019 at 11:53 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Suresh Seema <suresh(dot)seema(at)opsveda(dot)com> writes:
> > I have installed PostgresSQL 11.2 version on Centos 7 and try to install
> > *pguint* from source to install *TINYINT* datatype .
> > ...
> > *[postgres] # CREATE EXTENSION uint;ERROR: XX000: could not load
> library
> > "/usr/pgsql-11/lib/uint.so": /usr/pgsql-11/lib/uint.so: undefined symbol:
> > GET_1_BYTE
>
> This is not a dependency problem. GET_1_BYTE() was a macro defined in
> PG10 and before, but it doesn't exist anymore as of PG11. There are
> two fairly plausible reasons why you might get this failure:
>
> 1. You built pguint against pre-v11 Postgres header files.
>
> 2. pguint actually contains a direct reference to GET_1_BYTE(), in
> which case it's going to need some source-code fixes.
>
> I don't know which applies. But check your build process first.
>
> regards, tom lane
>

--
Regards,
Suresh Seema

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mariel Cherkassky 2019-07-24 09:15:05 pg_locks relation cant be found in pg_class
Previous Message jmz 2019-07-23 18:35:27 Re: Database.Schema.Table