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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to