Re: foreign key from array element

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rafal Pietrak <rafal(at)zorro(dot)isa-geek(dot)com>
Cc: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Gabriele Bartolini <gabriele(dot)bartolini(at)2ndQuadrant(dot)it>, pgsql-general(at)postgresql(dot)org
Subject: Re: foreign key from array element
Date: 2012-09-18 22:39:55
Message-ID: 6815.1348007995@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rafal Pietrak <rafal(at)zorro(dot)isa-geek(dot)com> writes:
> postmaster/postmaster.o: In function `PostmasterMain':^M
> postmaster.c:(.text+0x4bc8): undefined reference to `optreset'^M
> tcop/postgres.o: In function `process_postgres_switches':^M
> postgres.c:(.text+0x1422): undefined reference to `optreset'^M
> utils/misc/ps_status.o: In function `set_ps_display':^M
> ps_status.c:(.text+0xd4): undefined reference to `setproctitle'^M
> collect2: ld returned 1 exit status^M
> make[2]: *** [postgres] Error 1^M

We've heard of this happening as a result of libedit pulling in libbsd,
which provides (broken) versions of these symbols and thus confuses
configure into thinking they're present. The "-ledit" in your link line
suggests that you are linking to libedit, but the rest of that is just
guesswork. I'd suggest installing readline to see if the problem goes
away.

Here's a previous report:
http://archives.postgresql.org/pgsql-general/2011-11/msg00790.php

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2012-09-18 23:35:34 Re: Change key primary for key foreign
Previous Message Chris Angelico 2012-09-18 22:27:40 Re: Double types