library path - Mailing list pgsql-bugs

From SunMie Won
Subject library path
Date
Msg-id KJEGKKOJCBGKOFEHHBIKEEPLCCAA.sunmiewon@yahoo.com
Whole thread Raw
Responses Re: library path  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I am trying to do an install of PostgreSQL 7.1.3 on Red Hat 6.0. I have
unzipped, compiled, and installed successfully, but am having trouble
creating the database cluster. I am using the command as the postgres user:
initdb --pgdata/usr/local/pgsql/data
and get the message:
"initdb does not know where to find the files that make up the Postgres
(PGLIB directory). You must identify the PGLIB directory either with a
--pglib invocation " .... etc.

I have set the following environment variable:
LD_LIBRARY_PATH=/usr/local/pgsql/library

Is that related? What am I doing wrong, or forgetting?

SunMie Won
sunmiewon@yahoo.com
415.336.3382 cell
530.550.0833 home



Attachment

pgsql-bugs by date:

Previous
From: Faye Gibbins
Date:
Subject: rpm bug
Next
From: Tom Lane
Date:
Subject: Re: library path