[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?
Ok, to know where your installation location is, try this command.