Re: Undefined symbols: _poll

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Undefined symbols: _poll
Дата
Msg-id 25578.1096578403@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Undefined symbols: _poll  (Joe Lester <joe_lester@sweetwater.com>)
Список 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 по дате отправления:

Предыдущее
От: Josh Close
Дата:
Сообщение: Re: postgres start problems with memory
Следующее
От: Ying Lu
Дата:
Сообщение: about "pg_dump " without pompt password