psql command failing with error "undefined symbol: PQhostaddr"

From: Narendra katlamudi <narendra_katlamudi(at)yahoo(dot)co(dot)in>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: psql command failing with error "undefined symbol: PQhostaddr"
Date: 2021-12-28 12:29:12
Message-ID: 417257689.1658868.1640694552107@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Team
When I use psql to connect a pg server, I am getting below error. Any solution/pointers?
I have pg versions 11,12,13 installed on my system.

/usr/lib/postgresql/13/bin/psql: symbol lookup error: /usr/lib/postgresql/13/bin/psql: undefined symbol: PQhostaddr

thanks,Narendra K

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Osvaldo Kussama 2021-12-28 12:44:08 Re: psql command failing with error "undefined symbol: PQhostaddr"
Previous Message Avi Weinberg 2021-12-27 13:35:58 Logical Replication - One table 8 minutes, Identical Two Tables 28 Minutes (Expected 16 Minutes)