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,
andpray, and seek my face, and turn from their wicked ways; then will I hear from heaven, and will forgive
theirsin, and will heal their land." II Chronicles 7:14