postgresql 7.2b4 compile problems

From: "mike" <matrix(at)vianet(dot)ca>
To: "PostgreSQL Mailing Lists-General" <pgsql-general(at)postgresql(dot)org>
Subject: postgresql 7.2b4 compile problems
Date: 2001-12-15 21:41:43
Message-ID: 002301c185b1$49d05460$0a00000a@generator
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've been trying to compile the newest 7.2 beta for the past couple of days and its been throwing an odd error and I'm uncertain what exactly its looking for.

I'm compiling it on an e-smith gateway with the following options: ./configure --prefix=/usr --with-pam --enable-multibyte --enable-recode --enable-locale --with-maxbackends=64 --with-perl --enable-syslog

as well this is what postgres is outputing on error exit:
make[4]: Leaving directory `/usr/src/postgresql-7.2b4/src/interfaces/libpq'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o pg_dump.o pg_dump.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o common.o common.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o pg_backup_archiver.o pg_backup_archiver.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o pg_backup_db.o pg_backup_db.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o pg_backup_custom.o pg_backup_custom.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o pg_backup_files.o pg_backup_files.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o pg_backup_null.o pg_backup_null.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o pg_backup_tar.o pg_backup_tar.c
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 pg_dump
../../../src/interfaces/libpq/libpq.so: undefined reference to `atexit'
collect2: ld returned 1 exit status
make[3]: *** [pg_dump] Error 1
make[3]: Leaving directory `/usr/src/postgresql-7.2b4/src/bin/pg_dump'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/postgresql-7.2b4/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.2b4/src'
make: *** [all] Error 2

is this a bug or am I missing something?

Mike

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank Finner 2001-12-15 22:40:27 Re: Perl DBI, PostgreSQL performance question
Previous Message Tom Lane 2001-12-15 20:38:36 Re: postgresql 7.2b4 compile problems