Create extension tablefunc fails with "wrong ELF class: ELFCLASS32" - Mailing list pgsql-general

From Jan Mechtel
Subject Create extension tablefunc fails with "wrong ELF class: ELFCLASS32"
Date
Msg-id CA+wN==Cnddp=EPzVstLfqWK8Drxu9wx6O4SWmX1wVGWS9bOnRQ@mail.gmail.com
Whole thread Raw
Responses Re: Create extension tablefunc fails with "wrong ELF class: ELFCLASS32"
List pgsql-general
Our webhoster moved us to a 64Bit CentOS. I installed postgresql-9.1.3 from source.

I run into trouble when trying to create the tablefunc extension

b2blogin_mailrocket=# create extension tablefunc;
ERROR:  could not load library "/home/b2blogin/lib/postgresql/tablefunc.so": /home/b2blogin/lib/postgresql/tablefunc.so: wrong ELF class: ELFCLASS32

On google I didn't only find some clues, that this seems related to 64bit vs. 32bit.

Please help or point me in the right direction.

Jan

pgsql-general by date:

Previous
From: Berend Tober
Date:
Subject: Re: obtain the difference between successive rows
Next
From: Jan Mechtel
Date:
Subject: Re: Create extension tablefunc fails with "wrong ELF class: ELFCLASS32"