From: Oliver Elphick <olly@lfix.co.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hugh Esco <hesco@greens.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problems invoking psql. Help please.
Date: 20 Nov 2002 17:00:51 +0000
Message-ID: <1037811652.24961.24.camel@linda> (raw)
In-Reply-To: <1347.1037804633@sss.pgh.pa.us>
References: <29178.1037776397@sss.pgh.pa.us>
<5.1.0.14.0.20021120015333.04220570@petra.cagreens.org>
<5.1.0.14.0.20021120015333.04220570@petra.cagreens.org>
<5.1.0.14.0.20021120075927.042606b0@petra.cagreens.org>
<1037803514.24840.20.camel@linda>
<1347.1037804633@sss.pgh.pa.us>
On Wed, 2002-11-20 at 15:03, Tom Lane wrote:
> Oliver Elphick <olly@lfix.co.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@linda$ sudo mv /usr/lib/libpq.so.2 /usr/lib/libpq.so.2.bak
Password:
olly@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.Elphick@lfix.co.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: olly@lfix.co.uk, tgl@sss.pgh.pa.us, hesco@greens.org
Subject: Re: Problems invoking psql. Help please.
In-Reply-To: <1037811652.24961.24.camel@linda>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox