/bin/sh: error while loading shared libraries: libtinfo.so.5

Ray Chen chenrano2002 at 163.com
Mon Mar 16 19:40:23 UTC 2009


On Sun, 2009-03-15 at 08:15 -0700, Antonio Olivares wrote:
> 
> 
> 
> --- On Sun, 3/15/09, Ray Chen <chenrano2002 at 163.com> wrote:
> 
> > From: Ray Chen <chenrano2002 at 163.com>
> > Subject: Re: /bin/sh: error while loading shared libraries: libtinfo.so.5
> > To: "For testers of Fedora Core development releases" <fedora-test-list at redhat.com>
> > Date: Sunday, March 15, 2009, 9:18 AM
> > On Sat, 2009-03-14 at 22:00 -0500, Christopher D. Stover
> > wrote:
> > > Hi everyone,
> > > I tried doing a yum update that didn't go so well.
> >  I'm now attempting to 
> > > run yum from recovery via a fedora live cd but I'm
> > getting the following: 
> > > "/bin/sh: error while loading shared libraries:
> > libtinfo.so.5: cannot open 
> > > shared object file: No such file or directory". 
> > Anyone have any ideas of 
> > > what I can do to fix this?  Thanks!
> > 
> > it shows that system can't find the shared libraries
> > "libtinfo.so.5".maybe your system has been
> > damaged, specially for
> > the /lib directory. you'd better boot the livecd from
> > CDROM and
> > reinstall the system.
> That would be as a last resort.  
> 
> Why doesn't he do a 
> # yum what provides libtinfo.so.5
> 
> Then look for the corresponding rpm and reinstall it either from a mirror or from koji.  If the system cannot be brought up within a few days, then surely I would do the same, reinstall the system what else can cure the illness? 

Good suggestion. You can try to install "ncurses-libs" rpm, hope it can
install all dependence rpms and fix your problem.

[ray at localhost ~]$ rpm -qf /lib/libtinfo.so.5
ncurses-libs-5.6-20.20080927.fc10.i386

Thanks,
Ray


> > >From my Fedora10, the libtinfo is here:
> > [ray at localhost /]$ ll /usr/lib/libtinfo.so 
> > lrwxrwxrwx 1 root root 23 2008-11-28 17:57
> > /usr/lib/libtinfo.so
> > -> ../../lib/libtinfo.so.5
> > [ray at localhost /]$ ll /lib/libtinfo.so.5
> > libtinfo.so.5    libtinfo.so.5.6  
> > [ray at localhost /]$ ll /lib/libtinfo.so.5*
> > lrwxrwxrwx 1 root root    15 2008-11-28 17:56
> > /lib/libtinfo.so.5 ->
> > libtinfo.so.5.6
> > -rwxr-xr-x 1 root root 98036 2008-10-02 21:02
> > /lib/libtinfo.so.5.6
> > 






More information about the fedora-test-list mailing list