Re: Debian build prob

From: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Debian build prob
Date: 2002-11-17 16:57:21
Message-ID: 20021117165721.E29622@quartz.newn.cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 14, 2002 at 08:55:22PM +0000, Patrick Welche wrote:
> Believe it or not, I'm trying to compile today's cvs pgsql on a
> Debian 2.2.19 system. Compilation dies while compiling pg_dump with
>
> ../../../src/interfaces/libpq/libpq.so: undefined reference to `atexit'
>
> In the mail archives there is a mention of upgrading libc to
> libc6-dev_2.2.5-3_i386.deb. As far as I can tell, that should read
> libc6_2.2.5-3_i386.deb, and again AFAICT this system already has
> libc6_2.2.5-6_i386.deb on it. I can see atexit is undefined in libpq, and it
> is defined in /usr/lib/libc.a. For some reason /lib/libc*.so are stripped,
> so it is hard to tell, but I assume it must be the same as for
> /usr/lib/libc.a.
>
> Have any of you managed to compile postgresql on an oldstable Debian system?

Adam Buraczewski tells me its a linux i386 gcc<=2.95.3 problem. Upgrading gcc
to

gcc version 2.95.4 20011002 (Debian prerelease)

yielded a working postgresql!

PostgreSQL 7.4devel on i686-pc-linux-gnu, compiled by GCC 2.95.4

Cheers,

Patrick

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-11-17 18:16:29 Re: pg_stat_database shows userid as OID
Previous Message Alvaro Herrera 2002-11-17 16:31:31 btree shrinking again