Forum OpenACS Q&A: Response to bboard search working out-of-the-box in OpenACS 3.2.5?
PGLIB must point to /usr/lib/pgsql or wherever the 'pltcl.so' static library is found...
When I typed
linux # echo $PGLIBI 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.