Re: psql error:cannot open libpq.so.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql error:cannot open libpq.so.3
Дата
Msg-id 16131.1064896979@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql error:cannot open libpq.so.3  (Phil Campaigne <pcampaigne@charter.net>)
Список pgsql-general
Phil Campaigne <pcampaigne@charter.net> writes:
> -bash-2.05b$ psql -h localhost -U postgres nba
> psql: error while loading shared libraries: libpq.so.3: cannot open
> shared object file: No such file or directory

This could mean either that libpq.so itself is not where your dynamic
linker will look for it, or that some library it depends on (libssl
is a possible example) is not where your dynamic linker will look for
it.

Try first "ldd /path/to/psql" to verify that psql's reference to
libpq.so is being resolved sanely.  If so, do ldd on libpq.so to see how
its references are resolved (or not).  If necessary, check the
referenced libraries, etc, till you find what's not resolved.

Once you know where the problem is, install the needed library, or
update your ldconfig configuration so it can find that library.

            regards, tom lane

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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: PGAdmin III 1.0.0 Released
Следующее
От: "Bruno BAGUETTE"
Дата:
Сообщение: RE : mod_auth_pgsql & encryption