Lists: | pgsql-novice |
---|
From: | Phil Campaigne <pcampaigne(at)charter(dot)net> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | erro while loading shared libraries: can't open libpq.so.3 |
Date: | 2003-09-29 17:50:25 |
Message-ID: | 3F7870E1.6000607@charter.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-novice |
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
From: | Bruno LEVEQUE <bruno(dot)leveque(at)net6d(dot)com> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: erro while loading shared libraries: can't open libpq.so.3 |
Date: | 2003-10-02 14:21:32 |
Message-ID: | blhc98$1fnm$1@news.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-novice |
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(at)postgresql(dot)org
>
--
Bruno LEVEQUE
System Engineer
SARL NET6D
bruno(dot)leveque(at)net6d(dot)com
http://www.net6d.com