in reply to wrong ELF class

It seems that ether your compiler setup or your Perl setup is wrong: ReadKey.so is compiled for 64-bit system while perl binary is 32-bit.
Sorry if my advice was wrong.

Replies are listed 'Best First'.
Re^2: wrong ELF class
by morgon (Priest) on Jul 19, 2012 at 20:49 UTC
    But how can that happen?

    Should not MakeMaker ensure that you either can't compile or compile suitably?

      Grashoppah, there is no should, only do...

      Now back to your studies: wax on... wax off... wax on... wax off...
      You could have 64-bit system installed and 32-bit Perl installed from somewhere else. Does running linux32 before compiling help you to build the 32-bit module?
      Sorry if my advice was wrong.