An interesting fact from
Doc on createlang command:
PGLIB must point to
/usr/lib/pgsql or wherever the 'pltcl.so' static library is found...
When I typed
linux # echo $PGLIB
I got a blank line. I'll see if setting the variable PGLIB to /usr/lib/pgsql on user postgres's .bashrc or even on /etc/rc.d/rc.local upon bootup fixes things... Maybe this is a hint that I may have screwed something up when I installed postgresql since PGLIB isn't defined, but PGDATA is.