vim: error while loading shared libraries: /lib64/libgpm.so.2: file too short
在liunx中使用vim命令出现如下错误:
vim: error while loading shared libraries: /lib64/libgpm.so.2: file too short
解决步骤:
1、yum reinstall -y gpm-libs
2、yum reinstall -y perl-libs
3、yum update
4、yum makecache
5、yum remove -y vim
6、yum install -y vim
按照上述步骤执行即可。