I have just upgraded to Fedora 17. Now, when I try to run vi, I get this message:
vim: error while loading shared libraries: libruby.so.1.8: cannot open shared object file: No such file or directory
I could not find *libruby* in a yum search, so I installed (updated) ruby-libs, which seemed the next nearest likely candidate, but the problem is still there.
How do I find and install the missing dependency, when 'yum search libruby' does not find it?
AArgh! I have found vi works as root user, but not as my normal user. Something has the wrong permissions, but what?
[doug@cardraeh doug]$ locate libruby.so
So it looks as though vi(m) is expecting an earlier version of the ruby libraries. Vi(m) appears to be the latest copy:
[root@cardraeh ~]# yum update vi
Loaded plugins: langpacks, presto, refresh-packagekit
No Packages marked for Update