pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Suresh Seema <suresh.seema@opsveda.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pguint Installation error in PostgreSQL server version 11.2
Date: Sun, 21 Jul 2019 14:23:40 -0400
Message-ID: <16161.1563733420@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJWZN5FtJ1t2TQay2_HqU_0j2sMBnTQG0my7aqthdxHM74hR9g@mail.gmail.com>
References: <CAJWZN5FtJ1t2TQay2_HqU_0j2sMBnTQG0my7aqthdxHM74hR9g@mail.gmail.com>

Suresh Seema <suresh.seema@opsveda.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





view thread (3+ messages)  latest in thread

Message-ID: <16161.1563733420@sss.pgh.pa.us>
Permalink:  ../16161.1563733420@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16161.1563733420@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, suresh.seema@opsveda.com
  Subject: Re: pguint Installation error in PostgreSQL server version 11.2
  In-Reply-To: <16161.1563733420@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