Re: Undefined symbols: _poll - Mailing list pgsql-general

From Tom Lane
Subject Re: Undefined symbols: _poll
Date
Msg-id 25578.1096578403@sss.pgh.pa.us
Whole thread Raw
In response to Undefined symbols: _poll  (Joe Lester <joe_lester@sweetwater.com>)
List pgsql-general
Joe Lester <joe_lester@sweetwater.com> writes:
> I'm just moved my Postgres client project from Mac 10.2.8 to 10.3.5.
> It's an Objective-C program that links to libpq.a (the header file is
> libpq-fe.h). However, when I try to compile now I get the following
> linking error:

> ld: Undefined symbols: _poll

poll() is a system function that seems to be in
/usr/lib/libSystem.B.dylib on my 10.3.5 machine.
Couldn't say why this isn't included automatically
in your program --- we certainly aren't doing anything
to explicitly link it into the standard PG programs
that use libpq.

            regards, tom lane

pgsql-general by date:

Previous
From: Josh Close
Date:
Subject: Re: postgres start problems with memory
Next
From: Ying Lu
Date:
Subject: about "pg_dump " without pompt password