From: | Narendra katlamudi <narendra_katlamudi(at)yahoo(dot)co(dot)in> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
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-29 08:31:32 |
Message-ID: | 1789328895.1847764.1640766692783@mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hey Team,
Thanks for quick responses. But yeah, seems on my system Libpq.so* files were not present in the usual library path. After setting LD_LIBRARY_PATH to consider the location about libpg.so*, the psql command started working.
thanks,
On Tuesday, 28 December, 2021, 06:23:30 pm IST, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
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
From | Date | Subject | |
---|---|---|---|
Next Message | Avi Weinberg | 2021-12-29 12:39:14 | Initial Sync - One Subscriber After The Other vs. Parallel |
Previous Message | Adrian Klaver | 2021-12-28 15:54:30 | Re: psql command failing with error "undefined symbol: PQhostaddr" |