Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 3A644B5DC4E for ; Fri, 19 Aug 2011 10:51:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 76291-03 for ; Fri, 19 Aug 2011 13:51:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id B5E74B5DC4D for ; Fri, 19 Aug 2011 10:51:09 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p7JDp754006313; Fri, 19 Aug 2011 09:51:07 -0400 (EDT) To: Venkat Balaji cc: Raghavendra , pgsql-admin@postgresql.org Subject: Re: PostgreSQL-9.0.1 In-reply-to: References: Comments: In-reply-to Venkat Balaji message dated "Fri, 19 Aug 2011 12:18:54 +0530" Date: Fri, 19 Aug 2011 09:51:07 -0400 Message-ID: <6312.1313761867@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.067 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.167 X-Spam-Level: X-Archive-Number: 201108/182 X-Sequence-Number: 38169 Venkat Balaji writes: > I believe, there must be some options to be used with make. No, the make command should just be "make". Any options that are needed would be supplied at the configure step. > pg_backup_archiver.o: In function `SetOutput': > pg_backup_archiver.c:(.text+0x2b6f): undefined reference to `gzopen64' FWIW, this seems to indicate a mismatch between the zlib.h you're using and the libz.so you're linking to. The PG sources do not reference gzopen64, but some versions of zlib.h conditionally #define gzopen as gzopen64 --- in which case it'd better be used with a library that actually provides that symbol. Evidently the one that the linker is finding does not. If I had to bet based on this much information, I'd bet on a manual zlib installation that doesn't match the system's libz.so, and for which you forgot to do the ldconfig magic needed to get the linker to actually pick yours instead of the /usr/lib one. regards, tom lane