"Werner Schalk" <werner_schalk@gmx.de> writes:
> postgres@diebels:~$ createuser -D -A -P werner
> env: /usr/lib/postgresql/bin/readpgenv: No such file or directory
> Could not execv /usr/lib/postgresql/bin/createuser
> Why the hell is he trying to use /usr/lib/postgresql and
> not the one I gave to ./configure?
Check your PATH. I bet there is some preinstalled createuser
script that you are invoking, and not the one in
/usr/local/postgresql-7.2.1/bin.
regards, tom lane