Обсуждение: erro while loading shared libraries: can't open libpq.so.3

Поиск
Список
Период
Сортировка

erro while loading shared libraries: can't open libpq.so.3

От
Phil Campaigne
Дата:
Hi All,
Took a break from developing on pgsql 7.3 to set up network printing
where I added another host(localhost 193.168.1.2) in red hat network
settings.  Later, when I started psql I got the following error when I
issue this command:

psql -h localhost -U postgres nba

postmaster successfully started
-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
-bash-2.05b$

Any ideas what could be causing the problem?
Thanks in advance,
Phil Campaigne


Re: erro while loading shared libraries: can't open libpq.so.3

От
Bruno LEVEQUE
Дата:
The problem must becomes of your /etc/ld.so.conf.

First step : search where is libpq.so.3
Second step : add this path in /etc/ld.so.conf (with root account)
Last step : ldconfig (with root account)

Logout/in and try again psql -h ...

Bruno

Phil Campaigne wrote:

> Hi All,
> Took a break from developing on pgsql 7.3 to set up network printing
> where I added another host(localhost 193.168.1.2) in red hat network
> settings.  Later, when I started psql I got the following error when I
> issue this command:
>
> psql -h localhost -U postgres nba
>
> postmaster successfully started
> -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
> -bash-2.05b$
>
> Any ideas what could be causing the problem?
> Thanks in advance,
> Phil Campaigne
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
Bruno LEVEQUE
System Engineer
SARL NET6D
bruno.leveque@net6d.com
http://www.net6d.com