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

Поиск
Список
Период
Сортировка
От Narendra katlamudi
Тема Re: psql command failing with error "undefined symbol: PQhostaddr"
Дата
Msg-id 1789328895.1847764.1640766692783@mail.yahoo.com
обсуждение исходный текст
Ответ на Re: psql command failing with error "undefined symbol: PQhostaddr"  (Pavel Stehule <pavel.stehule@gmail.com>)
Список 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.stehule@gmail.com> wrote:


Hi

út 28. 12. 2021 v 13:29 odesílatel Narendra katlamudi <narendra_katlamudi@yahoo.co.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.


Regards

Pavel



thanks,
Narendra K

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: psql command failing with error "undefined symbol: PQhostaddr"
Следующее
От: Avi Weinberg
Дата:
Сообщение: Initial Sync - One Subscriber After The Other vs. Parallel