Re: Undefined symbol error - psql CLI client - Mailing list pgsql-bugs

From Srimal | PickMe
Subject Re: Undefined symbol error - psql CLI client
Date
Msg-id CAMX-PMwjBUfb8072u4E5UFBdQJG7xE4jFq6kf_0=jhuNkJ2nmQ@mail.gmail.com
Whole thread Raw
In response to Re: Undefined symbol error - psql CLI client  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-bugs
Hi,

Yes, it was using an incorrect libpq version which comes with Pipelinedb (See the attached screenshot). I have uninstalled Pipelinedb since I'm not using that anymore. The issue is fixed now.

image.png


Thank you all for the great support.


On Wed, Dec 19, 2018 at 7:51 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
On 2018-Dec-19, Pavel Stehule wrote:

> st 19. 12. 2018 v 12:33 odesílatel Srimal | PickMe <srimal@pickme.lk>
> napsal:
>
> maybe there are broken dependency between releases, or some other


> >>>>> /usr/lib/postgresql/11/bin/psql: symbol lookup error:
> >>>>> /usr/lib/postgresql/11/bin/psql: undefined symbol:
> >>>>> PQsetErrorContextVisibility

I bet there is another libpq that is being picked up.
PQsetErrorContextVisibility was added in 9.6.  Maybe
ldd /usr/lib/postgresql/11/bin/psql
would give a clue.

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


--
Regards,
Srimal
Attachment

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Postgres 11 Insufficient columns in PRIMARY KEY constraintdefinition
Next
From: Joshua Muzaaya
Date:
Subject: Re: Postgres 11 Insufficient columns in PRIMARY KEY constraint definition