vacuumdb can't find libraries - Mailing list pgsql-general

From Raymond O'Donnell
Subject vacuumdb can't find libraries
Date
Msg-id 200010191300.OAA56793@mail.iol.ie
Whole thread Raw
List 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@iol.ie
rod@gti.ie
--------------------------------------

pgsql-general by date:

Previous
From: "David Reid"
Date:
Subject: MySQL -> pgsql
Next
From: Frank Bax
Date:
Subject: OpenBSD startup - no logfile?