Re: Solaris 5.6 install problem - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Solaris 5.6 install problem
Date
Msg-id Pine.LNX.4.30.0102121643360.1100-100000@peter.localdomain
Whole thread Raw
In response to Solaris 5.6 install problem  (Amit Sharma <amit@math.ksu.edu>)
List pgsql-hackers
Amit Sharma writes:

> libpq/SUBSYS.o(.text+0x5038): undefined reference to `__inet_ntoa'

> I was getting the same trouble with installing Apache WebServer in my
> account and  had to go and modify the "makefiles" to include
> -lbind option in them. Do i have to do the same thing here as well, i
> tried doing that though and it didn't work.

I think you need to add -lresolv.  Edit src/Makefile.global, the line
LIBS=...

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Constantin Teodorescu
Date:
Subject: Re: [INTERFACES] pgAccess fails to launch on HPUX
Next
From: Bruce Momjian
Date:
Subject: PL/PgSQL GET DIAGNOSTICS command