Skip site navigation (1) Skip section navigation (2)

Re: Undefined symbols: _poll

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Lester <joe_lester(at)sweetwater(dot)com>
Cc: postgres list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Undefined symbols: _poll
Date: 2004-09-30 21:06:43
Message-ID: 25578.1096578403@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Joe Lester <joe_lester(at)sweetwater(dot)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

In response to

pgsql-general by date

Next:From: Ying LuDate: 2004-09-30 21:09:26
Subject: about "pg_dump " without pompt password
Previous:From: Josh CloseDate: 2004-09-30 20:50:22
Subject: Re: postgres start problems with memory

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group