morgon has asked for the wisdom of the Perl Monks concerning the following question:
I am on a Linux-system with an old 5.8.8 Perl where I am not root and cannot get to the internet from.
What I want is readline-support for the debugger for me, so I tried to install Term::ReadLine and Term::ReadKey locally to a subdir of my home via tarballs running "perl Makefile.PL PREFIX=...; make; make install".
The installation did not give me any errors, but Term::Readkey does not work:
I have not seen this before - can someone tell what the problem is here?perl -MTerm::ReadKey -e 1 Can't load '/home/whatever/PM/lib/site_perl/5.8.8/i686-linux-thread-mu +lti/auto/Term/ReadKey/ReadKey.so' for module Term::ReadKey: /home/wha +tever/PM/lib/site_perl/5.8.8/i686-linux-thread-multi/auto/Term/ReadKe +y/ReadKey.so: wrong ELF class: ELFCLASS64 at /sysmgmt/perl/lib/perl5/ +5.8.8/i686-linux-thread-multi/DynaLoader.pm line 230. at -e line 0 Compilation failed in require. BEGIN failed--compilation aborted. >
Many thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: wrong ELF class
by aitap (Curate) on Jul 19, 2012 at 16:52 UTC | |
by morgon (Priest) on Jul 19, 2012 at 20:49 UTC | |
by Anonymous Monk on Jul 19, 2012 at 21:21 UTC | |
by Anonymous Monk on Jul 20, 2012 at 01:51 UTC | |
by aitap (Curate) on Jul 20, 2012 at 08:10 UTC | |
|
Re: wrong ELF class
by zentara (Cardinal) on Jul 19, 2012 at 17:16 UTC |