Re: 8.0: Absolute path required for INITDB? - Mailing list pgsql-bugs

From CoL
Subject Re: 8.0: Absolute path required for INITDB?
Date
Msg-id cf8lt6$1g2h$1@news.hub.org
Whole thread Raw
In response to Re: 8.0: Absolute path required for INITDB?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-bugs
hi,

Josh Berkus wrote, On 8/9/2004 21:20:

> Tom,
>
>> Well, that does deserve investigation.  But I've been initdb'ing
>> frequently and not noticed any problems.  What configure switches
>> did you use exactly?  Did you try to move the installation tree
>> after configure?
>
> Here's the issue: if you start initdb from a directory other than PGBASE, you
> can run into trouble:
>
> postgres@mole:/usr/local/pg80b/bin> ./initdb -D ../data
> initdb: file "/usr/local/pg80b/bin/share/postgresql/postgres.bki" does not
> exist
> This means you have a corrupted installation or identified
> the wrong directory with the invocation option -L.
> postgres@mole:/usr/local/pg80b/bin>

same problem here, but I did a trick, changed the $libdir in
share/conversion_create.sql to full path to lib dir, and I did a symlink
in bin to share.

C.

pgsql-bugs by date:

Previous
From: Václav Vozár
Date:
Subject: Locale bug?
Next
From: Sube Singh
Date:
Subject: Installation of PostgreSQL