I tryied:
su postgres
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib
and I got to createdb and start psql.
But after a logout , I need do "export..." again.
In my Linux red hat machine, there is a script in
/etc/rc.d/init.d/postgresql
I use /etc/rc.d/init.d/postgresql start
in a /etc/rc.d/rc.local ( or something like this )
Hoh do I do it in FreeBSD to start the postmaster when booting??
Thanks,
Eduardo