Re: Make & Install contrib/tablefunc Problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Make & Install contrib/tablefunc Problems
Date: 2010-01-26 16:48:02
Message-ID: 14391.1264524482@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch> writes:
> ERROR: could not load library "/usr/local/pgsql/lib/tablefunc.so":
> dlopen(/usr/local/pgsql/lib/tablefunc.so, 10): no suitable image
> found. Did find:
> /usr/local/pgsql/lib/tablefunc.so: mach-o, but wrong architecture

That's very curious. Apparently you managed to build a .so of the wrong
machine architecture (ppc vs x86 vs x86_64). I would guess that you are
using somebody else's build of Postgres and didn't manage to duplicate
their configuration completely. Now, if it is somebody else's build,
they really should have provided the contrib modules too ... so why
didn't you just grab tablefunc from their distribution?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Moe 2010-01-26 16:54:31 pg dump.. issue with when using crontab
Previous Message Andy Colson 2010-01-26 16:42:27 Re: general questions postgresql performance config