From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Hugh Esco <hesco(at)greens(dot)org>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Problems invoking psql. Help please. |
Date: | 2002-11-20 17:00:51 |
Message-ID: | 1037811652.24961.24.camel@linda |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Wed, 2002-11-20 at 15:03, Tom Lane wrote:
> Oliver Elphick <olly(at)lfix(dot)co(dot)uk> writes:
> > execv() is a system call to run another executable in place of the
> > current process. If the other executable is not present, or does not
> > have permissions, you will not be able to run it. Find out why.
>
> Aside from access problems for the executable itself, it could be that
> there's a shared-library access problem. Perhaps ldconfig needs to be
> told where libpq.so is?
It's not the error message you would get for that:
olly(at)linda$ sudo mv /usr/lib/libpq.so.2 /usr/lib/libpq.so.2.bak
Password:
olly(at)linda$ psql -d bray
/usr/lib/postgresql/bin/psql: error while loading shared libraries:
libpq.so.2: cannot open shared object file: No such file or directory
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"If my people, which are called by my name, shall
humble themselves, and pray, and seek my face, and
turn from their wicked ways; then will I hear from
heaven, and will forgive their sin, and will heal
their land." II Chronicles 7:14
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2002-11-20 17:54:46 | Re: Closing inactive connections OR user connections limits |
Previous Message | Francisco Reyes | 2002-11-20 16:52:38 | Closing inactive connections OR user connections limits |