H S <aras_h1988@yahoo.com> wrote:
> [postgres@localhost bin]$ ./initdb --enable-selinux -D
> /opt/sepgsql/
> The program "postgres" is needed by initdb but was not found in
> the same directory as "/usr/local/pgsql/bin/initdb".
> Check your installation.
>
> What should I do to fix the problem?
Did you run ./initidb with /usr/local/pgsql/bin/ as your current
directory?
Is there a postgres executable in that directory?
Also, what version? Where did you get it? How did you install it?
What's your OS?
-Kevin