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

From David Helgason
Subject Re: Undefined symbols: _poll
Date
Msg-id 05CD0D0E-131F-11D9-96C9-000A9566DA8A@otee.dk
Whole thread Raw
In response to Undefined symbols: _poll  (Joe Lester <joe_lester@sweetwater.com>)
List pgsql-general
On 30. sep 2004, at 21:35, Joe Lester wrote:
> 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
>
> Does this sound familiar to anyone? My guess is that _poll is
> referenced somewhere in libpq.a. Anyone have any ideas on how to get
> the linking happening on Mac OS 10.3.5?

We had the same problem. In our case the trick was to compile libpq on
OS X 10.3. The poll function was added in 10.3 (it's based on the
select function, but at least it exists).

Reading the description of your problem it sounds different.

d.
--
David Helgason,
Business Development et al.,
Over the Edge I/S (http://otee.dk)
Direct line +45 2620 0663
Main line +45 3264 5049


pgsql-general by date:

Previous
From: "Jon Asher"
Date:
Subject: Large update operations and performance
Next
From: Ying Lu
Date:
Subject: about "pg_dump " without pompt password