LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   vi error on redhat! (https://www.linuxquestions.org/questions/red-hat-31/vi-error-on-redhat-786110/)

ashok.g 01-31-2010 11:33 PM

vi error on redhat!
 
Guys,
I installed perl v5.8.5 built for i686-linux on my system recently. From that day if I want to run my vi edition I am getting th error as:
Code:

vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
I am using:
Code:

[root@station130 CORE]# uname -a
Linux station130 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux

Could you please assist me??
Thank you!

neonsignal 02-01-2010 12:43 AM

There has been a bug report on this issue.

You may find that upgrading vim or perl helps. If not, the bug report suggests adding in the missing symbolic link:
Code:

ln -s /usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE/libperl.so /usr/lib/libperl.so
(you may need to check the Perl version numbers in that link by first looking in /usr/lib/perl5)

ashok.g 02-01-2010 01:16 AM

Ya I did all that stuff but unable to run vi editor.
So, I installed Vim version 5.5 and it's working now except with the arrow buttons.
Actually when I press the arrow button when inserting some text,I am unable to move the cursor positions instead it's printing A B C for different arrows.
Why this is happening??

lurker79 02-02-2010 04:17 PM

ashok.g to move around you need to use the keys h j k l to move left, down, up right

ashok.g 02-02-2010 11:36 PM

Quote:

Originally Posted by lurker79 (Post 3850046)
ashok.g to move around you need to use the keys h j k l to move left, down, up right

But, we can do that using the arrow keys as well. But,it's not working and printing some characters as stated above.

AlucardZero 02-02-2010 11:39 PM

term / old vi issue

use h j k l - the correct way - as stated.


All times are GMT -5. The time now is 11:22 AM.