pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Imre Oolberg <imre@auul.pri.ee>
Cc: pgsql-admin@postgresql.org
Subject: Re: failing to compile v. 9.0.1 on debian squeeze with readline
Date: Sun, 05 Dec 2010 17:49:42 -0500
Message-ID: <2140.1291589382@sss.pgh.pa.us> (raw)
In-Reply-To: <4CFC1236.4040909@auul.pri.ee>
References: <4CFC1236.4040909@auul.pri.ee>

Imre Oolberg <imre@auul.pri.ee> writes:
> $ make
> ...
> gcc -O2 -Wall -Wmissing-prototypes ...
> ...
> postmaster/postmaster.o: In function `PostmasterMain':
> postmaster.c:(.text+0x420c): undefined reference to `optreset'
> tcop/postgres.o: In function `process_postgres_switches':
> postgres.c:(.text+0x122b): undefined reference to `optreset'
> utils/misc/ps_status.o: In function `set_ps_display':
> ps_status.c:(.text+0xd6): undefined reference to `setproctitle'
> collect2: ld returned 1 exit status
> make[2]: *** [postgres] Error 1
> make[2]: Leaving directory `/opt/postgres/tmp/postgresql-9.0.1/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/postgres/tmp/postgresql-9.0.1/src'
> make: *** [all] Error 2

> A workaround seems to ./configure with '--without-readline' (and the
> above mentioned parameter values get st to 'no') but I would like to ask

Maybe you need to lobby the Debian folks to revert to a less broken
version of libreadline.  It surely has got no business exporting either
of those symbols.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <2140.1291589382@sss.pgh.pa.us>
Permalink:  ../2140.1291589382@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2140.1291589382@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, imre@auul.pri.ee
  Subject: Re: failing to compile v. 9.0.1 on debian squeeze with readline
  In-Reply-To: <2140.1291589382@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