Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED - Mailing list pgsql-ports

From Tom Lane
Subject Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED
Date
Msg-id 26816.1164677947@sss.pgh.pa.us
Whole thread Raw
In response to Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED  (Brian Wipf <brian@clickspace.com>)
Responses Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED  (Brian Wipf <brian@clickspace.com>)
List pgsql-ports
Brian Wipf <brian@clickspace.com> writes:
> On 27-Nov-06, at 6:17 PM, Tom Lane wrote:
>> Does it pass "make check"?

> Umm, no. Maybe we should wait for 8.2 before going 64-bit in production?

If you don't help us debug it then 8.2 won't be any better.

>          RETURNS trigger
>          AS '/Users/admin/Downloads/postgresql-8.1.5/src/test/
> regress/../../../contrib/spi/refint.so'
>          LANGUAGE 'C';
> + ERROR:  could not load library "/Users/admin/Downloads/
> postgresql-8.1.5/src/test/regress/../../../contrib/spi/refint.so":
> inappropriate object file

Try "make clean; make all" in src/test/regress and watch the make output
to see exactly how refint.so is getting built.  I suspect your 64-bit
CFLAGS are not getting propagated there for some reason.

            regards, tom lane

pgsql-ports by date:

Previous
From: Brian Wipf
Date:
Subject: Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED
Next
From: Brian Wipf
Date:
Subject: Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED