vim: error while loading shared libraries: /lib64/libgpm.so.2: file too short

在使用vim的时候出现了报错:

[root@localhost ~]# vim
vim: error while loading shared libraries: /lib64/libgpm.so.2: file too short

解决过程如下:

yum reinstall -y gpm-libs
yum reinstall -y perl-libs
yum update
yum makecache
yum remove -y vim*
yum install -y vim*
posted @ 2023-03-08 19:12  冰块好冰  阅读(407)  评论(0)    收藏  举报