Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't install PostgreSQL on Debian Linux

Status
Not open for further replies.

ultramax

IS-IT--Management
Feb 28, 2002
2
BY
I cannot install postgresql-7.2 on my Debian Linux
I have downloaded postgresql-7.2.tar.gz from and try to install on Debian linux 2.2 release 5
Here is all info about system, that was get by the command "uname -a"
Linux ws035 2.4.17 #3 Wed Feb 13 11:44:07 EET 2002 i686 unknown
I make ./configure and then I run "gmake", but after several minutes
I get next message

up_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/local/pgsql/lib -lcrypt -lresolv -lnsl -ldl -lm -o pg_dump
../../../src/interfaces/libpq/libpq.so: undefined reference to `atexit'
collect2: ld returned 1 exit status
gmake[3]: *** [pg_dump] Error 1
gmake[3]: Leaving directory `/test/postgresql-7.2/src/bin/pg_dump'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/test/postgresql-7.2/src/bin'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/test/postgresql-7.2/src'
gmake: *** [all] Error 2

while I expect to see "All of PostgreSQL is successfully made. Ready to install."
I use GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
When I do these things on machine with Mandrake Linux 8.1 - everything is OK. I got the mentioned above successful message. But I need to install PostgreSQl on Debian Linux.
I thought that I do nat have library with "atexit" function. I've downloaded Debian dmalloc_4.3.0-1.deb, which contains atexit.c
I've installed it - but the problem remains the same... :(
What should be done, to nevertheless install Postgre on Debian?
 
thread is closed
I've found decision for this problem...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top