Re: postgresql 7.2b4 compile problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "mike" <matrix(at)vianet(dot)ca>
Cc: "PostgreSQL Mailing Lists-General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql 7.2b4 compile problems
Date: 2001-12-15 20:38:36
Message-ID: 10193.1008448716@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"mike" <matrix(at)vianet(dot)ca> writes:
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pg_dump.o common.=
> o pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_files.o =
> pg_backup_null.o pg_backup_tar.o -L../../../src/interfaces/libpq -lpq -Wl,=
> -rpath,/usr/lib -lpam -lcrypt -lresolv -lnsl -ldl -lm -lbsd -lhistory -o p=
> g_dump
> ../../../src/interfaces/libpq/libpq.so: undefined reference to `atexit'

[scratches head...] As far as I can see, there's only one use of
atexit() in the 7.2 sources, and that's in psql not pg_dump. More
to the point, it won't get compiled unless configure found that atexit()
is indeed available from your system's C library. Is HAVE_ATEXIT
defined in your src/include/pg_config.h?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mike 2001-12-15 21:41:43 postgresql 7.2b4 compile problems
Previous Message Bruce Momjian 2001-12-15 17:59:18 Re: PostgreSQL & Object Oriented