Re: [HACKERS] can't link libpq.so(inet_aton() not found)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
Cc: "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] can't link libpq.so(inet_aton() not found)
Date: 1999-12-28 15:19:18
Message-ID: 28369.946394358@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> writes:
> It seems fe-connect.c was changed to call inet_aton() recently.
> I can't make executables linking libpq.so because my environ-
> ment(i386-pc-solaris2.5.1, compiled by gcc 2.7.2.3) doesn't have
> inet_aton().

Hmm. We could make libpq dependent on the substitute inet_aton
that's in backend/ports. But since this is only needed for a very
optional feature (and one I don't much care for ;-)), my inclination
is to just #ifdef it out, and not support pghostaddr on machines
without inet_aton.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Cerha 1999-12-28 20:14:46 INET operators and NOT
Previous Message Jan Wieck 1999-12-28 13:35:45 LZTEXT is removed