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