Problem While Installing Postgresql 7.2.2 on Solaris 7 - Mailing list pgsql-ports

From Ravi Rajan at Lambent
Subject Problem While Installing Postgresql 7.2.2 on Solaris 7
Date
Msg-id 000a01c301c5$277e2770$230000c8@lambenttek.com
Whole thread Raw
List pgsql-ports
Hi All
 
I exactly followed all the steps as mentioned on postgresql.org for installing postgresql 7.2.2 on solaris 7.
I set all the enviornment variables correctly.
After that when i run ./configure ..i get
 
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.7
checking which template to use... solaris
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
so i had a look at config.log which says
 
$ cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
configure:635: checking host system type
configure:661: checking which template to use
configure:824: checking whether to build with locale support
configure:853: checking whether to build with recode support
configure:883: checking whether to build with multibyte character support
configure:937: checking whether NLS is wanted
configure:972: checking for default port number
configure:1006: checking for default soft limit on number of connections
configure:1130: checking for gcc
configure:1243: checking whether the C compiler (gcc  ) works
configure:1259: gcc -o conftest    conftest.c  1>&5
collect2: ld terminated with signal 9 [Killed], core dumped
ld.so.1: /usr/ccs/bin/ld: fatal: relocation error: file /usr/lib/libld.so.2: symbol elf_version: referenced symbol not found
configure: failed program was:
 
#line 1254 "configure"
#include "confdefs.h"
 
main(){return(0);}
 
Can anyone help me out...??
 
thanks in advance
 
Ravi

pgsql-ports by date:

Previous
From: "Bill Thomason"
Date:
Subject: 7.3.2 release
Next
From: CoL
Date:
Subject: Re: 7.3.2 release