[plug] rpms and dependencies
Anthony J. Breeds-Taurima
tony at cantech.net.au
Thu Dec 2 16:00:48 WST 1999
On Thu, 2 Dec 1999, Barbara Robson wrote:
> 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 ?
Mount the RedHat cdrom under /mnt/cdrom
cd /mnt/cdrom/RedHat/RPMS
ls ncurses3* (you should only see one file
under RedHat 6.1 it is ncurses3-1.9.9e-9.i386.rpm)
then rpm --install ncurses3*
Then frotz-2.32-4.i386.rpm should install nicely
Yours Tony.
More information about the plug
mailing list