Re: PostgreSQL 7.4beta3 does not compile on AIX 5 ... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PostgreSQL 7.4beta3 does not compile on AIX 5 ...
Date
Msg-id 23474.1064695769@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL 7.4beta3 does not compile on AIX 5 ...  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: "is_superuser" parameter creates inconsistencies
Next
From: Bruce Momjian
Date:
Subject: Re: Memory buffer alignment