Forum OpenACS Q&A: "createlang: command not found" - PostgreSQL installation

Hello!

I am newbie in OpenACS + .LRN and I installed PostgreSQl
7.4.7 on Debian Sarge. I am currently getting the following
error - step 7 of install. guide:
---------------------------------------------------------

[postgres postgresql-7.4.7]$ createlang plpgsql template1

" -su: createlang: command not found "
---------------------------------------------------------

For your suggestions, Thank you very much.
You need to make sure that you add /usr/local/pgsql/bin into your PATH (if you installed it following our documentation). You can check this by calling "echo $PATH". You can add the path into various locations, recommended usually is to put it into ~/.bashrc.
Derian, Did Malte's suggestion work or are you still stuck?
hellow.
Thanks for your answers.
The postgres's environment variables are bad. I will correct
it and then i will comment you.
just add this line to ur /etc/profile
"PATH=/usr/local/pgsql/bin:$PATH"
instead of "/usr/local" use ur proper installation path,
then try again.........
I think thi will work properly.