Re: psql command failing with error "undefined symbol: PQhostaddr"

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Narendra katlamudi <narendra_katlamudi(at)yahoo(dot)co(dot)in>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: psql command failing with error "undefined symbol: PQhostaddr"
Date: 2021-12-28 12:52:33
Message-ID: CAFj8pRD4SeL=pjOvHDHv8sNYHPfDQN3QRGevpsNV_pq6Uq3xnQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

út 28. 12. 2021 v 13:29 odesílatel Narendra katlamudi <
narendra_katlamudi(at)yahoo(dot)co(dot)in> napsal:

> 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*
>

Looks like a bad (too old) version of libpq library.

https://stackoverflow.com/questions/28123212/postgres-9-4-0-undefined-symbol-pqhostaddr

Regards

Pavel

>
> thanks,
> Narendra K
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2021-12-28 15:54:30 Re: psql command failing with error "undefined symbol: PQhostaddr"
Previous Message Osvaldo Kussama 2021-12-28 12:44:08 Re: psql command failing with error "undefined symbol: PQhostaddr"