Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hpGUw-0002R8-Ny for pgsql-admin@arkaria.postgresql.org; Sun, 21 Jul 2019 18:23:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hpGUt-0005aO-Cq for pgsql-admin@arkaria.postgresql.org; Sun, 21 Jul 2019 18:23:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hpGUt-0005aH-3d for pgsql-admin@lists.postgresql.org; Sun, 21 Jul 2019 18:23:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hpGUq-00066N-Jg for pgsql-admin@postgresql.org; Sun, 21 Jul 2019 18:23:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x6LINex0016162; Sun, 21 Jul 2019 14:23:40 -0400 From: Tom Lane To: Suresh Seema cc: pgsql-admin@postgresql.org Subject: Re: pguint Installation error in PostgreSQL server version 11.2 In-reply-to: References: Comments: In-reply-to Suresh Seema message dated "Fri, 19 Jul 2019 11:31:45 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16160.1563733420.1@sss.pgh.pa.us> Date: Sun, 21 Jul 2019 14:23:40 -0400 Message-ID: <16161.1563733420@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Suresh Seema 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