[Nottingham] RPM dependency confusion

Graeme Fowler nottingham at mailman.lug.org.uk
Thu Jul 10 16:34:04 2003


On Thu, 10 Jul 2003, Tim Emanuel wrote:
> [root@localhost tim]# rpm -i bsd-games-2.13-1.i386.rpm
> error: failed dependencies:
>         libtinfo.so.5   is needed by bsd-games-2.13-1

# locate libtinfo
<list of files may display a result like>
/usr/lib/libtinfo.so.6
/usr/lib/libtinfo.so.6.0.0
/usr/lib/libtinfo.so

...then work out which is the real file and bodge it with:

# ln -s /usr/lib/libtinfo.so /usr/lib/libtinfo.so.5


It's a bodge, it leaves your /usr/lib in a mess if you do it a lot, it can 
become unmanagebale and further break future installs... but it might just 
work. YMMV, DYOR etc etc :)

G