[plug] rpms and dependencies

Barbara Robson robson at cwr.uwa.edu.au
Thu Dec 2 15:08:56 WST 1999


This is my first email to this list, so hi everyone.

I am new to RedHat and seem to be having a little more trouble
installing new packages than I did with Debian, possibly
because the directory setup is a little different.

Here's an example:

  #rpm --install frotz-2.32-4.i386.rpm
  error: failed dependencies:
          libncurses.so.3.0 is needed by frotz-2.32-4

  #locate libncurses
  /usr/lib/libncurses.so.4.2
  <snip>
  /usr/i486-linux-libc5/lib/libncurses.so.3.0
  
  #rpm --nodeps --install frotz-2.32-4.i386.rpm
  #^D

  %frotz
  frotz: error in loading shared libraries: libncurses.so.3.0: cannot
  open shared object file: No such file or directory

What is the appropriate thing to do?
 ln -s /usr/lib/libncurses.so.4.2 /usr/lib/libncurses.so.3.0   ?
 ln -s /usr/i486-linux-libc5/lib/libncurses.so.3.0 /usr/lib/libncurses.so.3.0   ?
Use a tarball instead of the rpm?

Thanks in advance,

Barbara Robson


More information about the plug mailing list