Re: 8.3.6 build error on Debian Lenny

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josh Trutwin <josh(at)trutwins(dot)homeip(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.3.6 build error on Debian Lenny
Date: 2009-03-10 04:49:32
Message-ID: 21814.1236660572@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Josh Trutwin <josh(at)trutwins(dot)homeip(dot)net> writes:
> Hi - I'm trying to build 8.3.6 on a box recently upgraded from Sarge
> to Lenny and I get the following error during compile:

> make[4]: Entering directory
> `/backup/source/db/postgresql-8.3.6/src/backend/utils/adt' gcc -O2
> -Wall -Wmissing-prototypes -Wpointer-arith -Winline
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
> -fwrapv -I../../../../src/include -D_GNU_SOURCE -I/usr/local/lib -c
> -o geo_ops.o geo_ops.c /usr/lib/gcc/i486-linux-gnu/4.3.2/cc1: symbol
> lookup error: /usr/lib/libmpfr.so.1: undefined symbol:
> __gmp_get_memory_functions

[ blink... ] There's no reason for a compile to be looking into shared
libraries. What I think must have happened here is that this reflects a
bogus function call internally in gcc itself. Which probably means that
you have a gcc version that's out-of-sync with your libmpfr.so.1 version
(whatever the heck that is). I'd suggest asking around among some
Debian experts, or just reinstalling instead of upgrading.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Leonel Nunez 2009-03-10 05:01:38 Re: 8.3.6 build error on Debian Lenny
Previous Message Josh Trutwin 2009-03-10 04:23:02 8.3.6 build error on Debian Lenny