CentOS 5.7でVimが起動できなくなった。
rvmの更新をした後くらいに何故かvimが起動できなくなってた。
$ vim "vim: error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory"
下記の記事を見て、
http://forums.fedoraforum.org/showthread.php?t=239312
/usr/lib64/libruby.so.1.8 がなかったので、
# yum install ruby-libs.x86_64 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * extras: www.ftp.ne.jp * updates: centosx4.centos.org Setting up Install Process Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. The program yum-complete-transaction is found in the yum-utils package. --> Running transaction check ---> Package ruby-libs.x86_64 0:1.8.5-31.el5_9 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================================================================================================= Installing: ruby-libs x86_64 1.8.5-31.el5_9 base 1.6 M Transaction Summary ============================================================================================================================================================================================================================================================================================================================= Install 1 Package(s) Upgrade 0 Package(s) Total download size: 1.6 M Is this ok [y/N]: y Downloading Packages: ruby-libs-1.8.5-31.el5_9.x86_64.rpm | 1.6 MB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : ruby-libs 1/1 Installed: ruby-libs.x86_64 0:1.8.5-31.el5_9 Complete!
で見事、起動した。