Re: psql error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql error
Дата
Msg-id 13002.1521659196@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql error  (dbx postgres <dbx2postgres@gmail.com>)
Ответы Re: psql error  (Azimuddin Mohammed <azimeiu@gmail.com>)
Список pgsql-admin
dbx postgres <dbx2postgres@gmail.com> writes:
> I have postgres running on my server but when i try to run psql I get the
> below error

> *psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams *

Apparently, you have a 9.0-or-later psql trying to use a pre-9.0 copy
of libpq.so, because that function was added in 9.0.  This would seem
to mean that you have (portions of?) at least two different PG
installations, and they're not staying out of each others' way.
Hard to say more than that with only this much data.

If this is a Linux platform, applying "ldd" to the psql executable
would reveal which libpq it's trying to use.

            regards, tom lane


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

Предыдущее
От: dbx postgres
Дата:
Сообщение: psql error
Следующее
От: Azimuddin Mohammed
Дата:
Сообщение: Re: psql error