Skip site navigation (1) Skip section navigation (2)

Problem While Installing Postgresql 7.2.2 on Solaris 7

From: "Ravi Rajan at Lambent" <ravirajan(at)lambenttek(dot)com>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: Problem While Installing Postgresql 7.2.2 on Solaris 7
Date: 2003-04-13 14:00:51
Message-ID: 000a01c301c5$277e2770$230000c8@lambenttek.com (view raw or flat)
Thread:
Lists: 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

Next:From: Henry B. HotzDate: 2003-04-15 23:46:36
Subject: Solaris 7 Linking Question
Previous:From: CoLDate: 2003-04-12 05:30:47
Subject: Re: 7.3.2 release

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group