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 1i6OA3-000836-NY for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Sep 2019 00:01:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i6OA1-0003YK-Fk for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Sep 2019 00:01:01 +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 1i6OA1-0003YD-5O for pgsql-bugs@lists.postgresql.org; Sat, 07 Sep 2019 00:01:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i6O9y-0002UE-3A for pgsql-bugs@lists.postgresql.org; Sat, 07 Sep 2019 00:01:00 +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 x8700pWp022862; Fri, 6 Sep 2019 20:00:51 -0400 From: Tom Lane To: kneufeld@burgundywall.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15994: can't run psql In-reply-to: <15994-77d0a1aa4289477a@postgresql.org> References: <15994-77d0a1aa4289477a@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Fri, 06 Sep 2019 22:39:17 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22860.1567814451.1@sss.pgh.pa.us> Date: Fri, 06 Sep 2019 20:00:51 -0400 Message-ID: <22861.1567814451@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > # psql --version > /usr/lib/postgresql/11/bin/psql: symbol lookup error: > /usr/lib/postgresql/11/bin/psql: undefined symbol: PQsslInUse Evidently this is binding to an old version of libpq.so that lacks that symbol. Probably it's finding some vendor-provided libpq.so in /usr/lib or /usr/lib64, whereas what you need is to find the one in /usr/lib/postgresql/11/lib. Applying "ldd" to the psql executable would help confirm that diagnosis. It's hard to say more than that without knowing anything about how this installation was built. regards, tom lane