Re: 8.3.6 build error on Debian Lenny - Mailing list pgsql-general

From Tom Lane
Subject Re: 8.3.6 build error on Debian Lenny
Date
Msg-id 21814.1236660572@sss.pgh.pa.us
Whole thread Raw
In response to 8.3.6 build error on Debian Lenny  (Josh Trutwin <josh@trutwins.homeip.net>)
Responses Re: 8.3.6 build error on Debian Lenny  ("Leonel Nunez" <listas@enelserver.com>)
Re: 8.3.6 build error on Debian Lenny  (Josh Trutwin <josh@trutwins.homeip.net>)
Re: 8.3.6 build error on Debian Lenny  (donald63 <donald.axel@gmail.com>)
List pgsql-general
Josh Trutwin <josh@trutwins.homeip.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

pgsql-general by date:

Previous
From: Josh Trutwin
Date:
Subject: 8.3.6 build error on Debian Lenny
Next
From: "Leonel Nunez"
Date:
Subject: Re: 8.3.6 build error on Debian Lenny