pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Venkat Balaji <venkat.balaji@verse.in>
Cc: Raghavendra <raghavendra.rao@enterprisedb.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PostgreSQL-9.0.1
Date: Fri, 19 Aug 2011 09:51:07 -0400
Message-ID: <6312.1313761867@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFrxt0hEtGddnTLqjRGdsLRZZtNgG3=sCVu_ji6ac33Hs34MCw@mail.gmail.com>
References: <CAFrxt0hFD7M=Uu43VS0K9NRAaxBV30E-4JAAm4s+tfPbSGB3zw@mail.gmail.com>
	<CA+h6Ahi5SEx82=rqBs8sqN2eOPUaP9gN0=zSND60L5OGgybKvA@mail.gmail.com>
	<CAFrxt0hEtGddnTLqjRGdsLRZZtNgG3=sCVu_ji6ac33Hs34MCw@mail.gmail.com>

Venkat Balaji <venkat.balaji@verse.in> 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



view thread (9+ messages)  latest in thread

Message-ID: <6312.1313761867@sss.pgh.pa.us>
Permalink:  ../6312.1313761867@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6312.1313761867@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, venkat.balaji@verse.in, raghavendra.rao@enterprisedb.com
  Subject: Re: PostgreSQL-9.0.1
  In-Reply-To: <6312.1313761867@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox