Re: PostgreSQL 7.4beta3 does not compile on AIX 5 ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL 7.4beta3 does not compile on AIX 5 ...
Дата
Msg-id 23474.1064695769@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL 7.4beta3 does not compile on AIX 5 ...  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> The compatlib doesn't appear to use libpq though.  What is the error if
> you leave it off?

gcc -no-cpp-precomp -g -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations  -bundle informix.o
-L../../../../src/port-L../ecpglib -lecpg -L../pgtypeslib -lpgtypes -lssl -lcrypto -lm   -o libecpg_compat.so.1.0
 
ld: Undefined symbols:
_PQclear
_PQexec
_PQerrorMessage
_PQresultErrorField
_PQfinish
_PQsetNoticeReceiver
_PQsetdbLogin
_PQstatus
_last_path_separator
make: *** [libecpg_compat.so.1.0] Error 1

compatlib doesn't require libpq directly --- but it requires libecpg,
which in turn requires libpq, and apparently this platform makes you
mention the indirect dependencies as well as the direct ones.
(But not, evidently, for -lm or -lc; there may be some other "magically
included" libs as well?)
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: "is_superuser" parameter creates inconsistencies
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Memory buffer alignment