Re: [PORTS] Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED

Tom Lane <[email protected]> Mon, 27 Nov 2006 20:39:07 -0500
Newsgroups gmane.comp.db.postgresql.ports
Message-ID <[email protected]>
Brian Wipf <[email protected]> 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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match