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

Re: [PORTS] Core dump with initdb on Irix 6.2

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: PostGres SQL <postgres(at)kittyhawk(dot)aero(dot)rmit(dot)edu(dot)au>
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Core dump with initdb on Irix 6.2
Date: 1999-05-04 13:27:25
Message-ID: 372EF5BD.C53DD67F@alumni.caltech.edu (view raw or flat)
Thread:
Lists: pgsql-ports
> After switching to gcc 2.8.1 (thanks to Remi), I've managed to get 
> initdb and postmaster running now - woo who!!
> However, my excitement was short live. After examining make log, I 
> find that psql doesn't compile. Hence createdb will stall.
> Here's the message
> ld32: FATAL 12: Expecting n32 objects:
>                /usr/local/lib/libreadline.a(readline.o) is o32.
> How shouild I fix this? I'm now using gcc 2.8.1  My environment 
> variable SGI_ABI is set to -n32.

It looks like libreadline (which you installed earlier) was built
using o32, whatever that is, and that is different from n32. Try
rebuilding libreadline or build all of postgres with using o32.

Another option is to explicitly disable using readline; look in
config.h or figure out how to disable it using configure.

Good luck.

                     - Tom

-- 
Thomas Lockhart				lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Responses

pgsql-ports by date

Next:From: Chris HowellDate: 1999-05-04 14:26:38
Subject: Postgres installation problem
Previous:From: Jelle RuttenbergDate: 1999-05-04 09:19:31
Subject: Compile-/Install-errors

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