Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id B18A79FB215 for ; Mon, 27 Nov 2006 21:39:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 93858-03 for ; Mon, 27 Nov 2006 21:39:10 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9CB339FB20F for ; Mon, 27 Nov 2006 21:39:10 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kAS1d7J6026817; Mon, 27 Nov 2006 20:39:07 -0500 (EST) To: Brian Wipf cc: pgsql-ports@postgresql.org, Brendan Duddridge , Guido Neitzer Subject: Re: Compiling PostgreSQL 8.1.5 with 64-bit on a G5 SOLVED In-reply-to: References: <24175.1164660535@sss.pgh.pa.us> <26231.1164674902@sss.pgh.pa.us> <418CDBAD-CF9C-4A87-BB68-8DEF5F2912E0@clickspace.com> <26575.1164676678@sss.pgh.pa.us> Comments: In-reply-to Brian Wipf message dated "Mon, 27 Nov 2006 18:32:35 -0700" Date: Mon, 27 Nov 2006 20:39:07 -0500 Message-ID: <26816.1164677947@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/13 X-Sequence-Number: 2495 Brian Wipf 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