Re: 8.0: Absolute path required for INITDB?

From: CoL <col(at)mportal(dot)hu>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 8.0: Absolute path required for INITDB?
Date: 2004-08-09 20:17:51
Message-ID: cf8lt6$1g2h$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

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(at)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(at)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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-08-09 20:22:54 Re: 8.0: Absolute path required for INITDB?
Previous Message Josh Berkus 2004-08-09 19:20:42 Re: 8.0: Absolute path required for INITDB?

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-08-09 20:22:54 Re: 8.0: Absolute path required for INITDB?
Previous Message Greg Sabino Mullane 2004-08-09 19:54:35 Small addition to syslogger.c