<phillip@formstar.com> writes:
> I am running Postgres 7.0.0 and compiled Postgres myself. However, I
> did not add any parameters to 'configure' script.
Nonetheless, gethostbyname() is *not* a function provided in the
standard distribution. You must have gotten it from someplace else.
You'll need to find the author and ask him/her how it's supposed to
work.
regards, tom lane