vacuumdb can't find libraries

From: "Raymond O'Donnell" <rod(at)iol(dot)ie>
To: pgsql-general(at)postgresql(dot)org
Subject: vacuumdb can't find libraries
Date: 2000-10-19 12:57:00
Message-ID: 200010191300.OAA56793@mail.iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear all,

I have set up a cron job to run vacuumdb nightly. I can run it from
the command line by hand without any difficulty; however, the output
I get from the cron job is as follows:

/usr/local/pgsql/bin/psql: error in loading shared libraries:
libpq.so.2.1: cannot open shared object file: no such file or
directory

I have set the environment variable LD_LIBRARY_PATH from /etc/profile
to point at /usr/local/pgsql/lib.

What am I doing wrong? Any ideas wold be helpful!

--Ray.

--------------------------------------
Raymond O'Donnell
rod(at)iol(dot)ie
rod(at)gti(dot)ie
--------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank Bax 2000-10-19 13:37:12 OpenBSD startup - no logfile?
Previous Message David Reid 2000-10-19 11:31:04 MySQL -> pgsql