"SunMie Won" <sunmiewon@yahoo.com> writes:
> 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.
7.1's initdb script contains no such error message. I suspect you are
invoking the wrong version of initdb, ie one left over from an older
PG installation. Check your PATH.
regards, tom lane