mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Tue Apr 24, 2018 5:39 pm Post subject: invalid ELF header, Readline Perl6 |
|
|
This message appears when installing Perl6 Readline with zef:
Code: | Cannot locate native library 'libreadline.so': /usr/lib64/libreadline.so: invalid ELF header |
Digging on this issue, /usr/lib64/libreadline.so is a "linker script". Perl6 Readine can be installed by linking /lib64/libreadline.so.7.0 in /usr/lib64 as suggested here. For example, being in /usr/lib64/:
Code: | mv libreadline.so libreadline.so.backup
ln /lib64/libreadline.so.7.0 libreadline.so |
Readline correctly installs with 'zef install Readline', and Perl6 RELP works correctly. I can revert back to the previous situation by:
Code: | rm libreadline.so
mv libreadline.so.backup libreadline.so |
After reverting to the original situation, Perl6 RELP stops working with the message: "I ran into a problem while trying to set up Readline: Could not instantiate role 'ReadlineBehavior'"
The questions: Would it be all right to leave the link. Should it be a symbolic link?
Thanks! _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Take care of the community answering unanswered posts. |
|