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 1iMxni-0003Q5-Hk for pgsql-general@arkaria.postgresql.org; Tue, 22 Oct 2019 17:18:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iMxnh-0006Z0-2d for pgsql-general@arkaria.postgresql.org; Tue, 22 Oct 2019 17:18:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iMxng-0006Wj-M9 for pgsql-general@lists.postgresql.org; Tue, 22 Oct 2019 17:18:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iMxnc-0000Lt-7u for pgsql-general@lists.postgresql.org; Tue, 22 Oct 2019 17:18:27 +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 x9MHIMq1028816; Tue, 22 Oct 2019 13:18:22 -0400 From: Tom Lane To: stan cc: pgsql-general@lists.postgresql.org Subject: Re: An issue installing an extension In-reply-to: <20191022171423.GB23862@panix.com> References: <20191022171423.GB23862@panix.com> Comments: In-reply-to stan message dated "Tue, 22 Oct 2019 13:14:23 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28814.1571764702.1@sss.pgh.pa.us> Date: Tue, 22 Oct 2019 13:18:22 -0400 Message-ID: <28815.1571764702@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk stan writes: > I have 3 machines that _should_ be nearly idnetical. On 2 of them, i have > no issues installing an extension I copiled. On one I get the followign > error message: > icadb=# CREATE EXTENSION IF NOT EXISTS pg_libphonenumber; > ERROR: could not load library > "/usr/lib/postgresql/11/lib/pg_libphonenumber.so": libphonenumber.so.7: > cannot open shared object file: No such file or directory > icadb=# ls -l /usr/lib/postgresql/11/lib/pg_libphonenumber.so This seems to be complaining about another library "libphonenumber.so.7" that pg_libphonenumber.so depends on. I think you forgot to install that one on this machine. regards, tom lane