Fedora Linux Support Community & Resources Center
  #1  
Old 28th June 2012, 06:36 AM
Doug Hutcheson Offline
Registered User
 
Join Date: Jun 2009
Location: Queensland
Posts: 164
linuxfirefox
vi broken after upgrade to Fedora 17

I have just upgraded to Fedora 17. Now, when I try to run vi, I get this message:
Code:
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?

---------------------------
More info:
Code:
[doug@cardraeh doug]$ locate libruby.so
/usr/lib64/libruby.so.1.9
/usr/lib64/libruby.so.1.9.1
So it looks as though vi(m) is expecting an earlier version of the ruby libraries. Vi(m) appears to be the latest copy:
Code:
[root@cardraeh ~]# yum update vi
Loaded plugins: langpacks, presto, refresh-packagekit
No Packages marked for Update

Last edited by Doug Hutcheson; 28th June 2012 at 06:52 AM. Reason: Added info about earlier library being looked for
Reply With Quote
  #2  
Old 28th June 2012, 07:07 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,049
linuxfirefox
Re: vi broken after upgrade to Fedora 17

See existing post:

http://forums.fedoraforum.org/showthread.php?t=281329
Reply With Quote
  #3  
Old 28th June 2012, 08:57 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,077
linuxfirefox
Re: vi broken after upgrade to Fedora 17

Close, but no cigar ;-)
Quote:
yum update vi
This doesn't do anything, because there is no package named vi or vim. Try
Code:
yum update vim-enhanced
To find out the name of the package:
Code:
yum provides /usr/bin/vim
and for the library:

Code:
yum provides "libruby.so*"
Reply With Quote
  #4  
Old 28th June 2012, 11:10 AM
Doug Hutcheson Offline
Registered User
 
Join Date: Jun 2009
Location: Queensland
Posts: 164
linuxfirefox
Re: vi broken after upgrade to Fedora 17

Thank you both for your replies. I had concurrent problems doing a yum update after upgrading from f16 to 17 -see this post here. Once I had resolved all the conflicts and completed a yum update, vi started working as expected.
Reply With Quote
Reply

Tags
broken, fedora, librubyso18, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS broken after Fedora 10 upgrade woodson2 Servers & Networking 3 5th December 2008 09:54 PM
fedora 9 ekiga broken after upgrade harrydrip Using Fedora 1 23rd June 2008 04:13 AM


Current GMT-time: 17:34 (Wednesday, 17-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat