Re: postgresql 7.2b4 compile problems - Mailing list pgsql-general

From mike
Subject Re: postgresql 7.2b4 compile problems
Date
Msg-id 000c01c1867b$9aed8000$4100000a@generator
Whole thread Raw
In response to postgresql 7.2b4 compile problems  ("mike" <matrix@vianet.ca>)
Responses Re: postgresql 7.2b4 compile problems
List pgsql-general
this is how it apreas in my src/include/pg_config.h

/* Define if you have atexit() */
/* #undef HAVE_ATEXIT */

I've uncommented this and, and even changed it to #define, but I still come
up w/ the same error msg.


----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "mike" <matrix@vianet.ca>
Cc: "PostgreSQL Mailing Lists-General" <pgsql-general@postgresql.org>
Sent: Saturday, December 15, 2001 12:38 PM
Subject: Re: [GENERAL] postgresql 7.2b4 compile problems


> "mike" <matrix@vianet.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
g_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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


pgsql-general by date:

Previous
From: Terrence Brannon
Date:
Subject: Re: Postgres graphing.
Next
From: Terrence Brannon
Date:
Subject: best solution for BLOB storage across networks?