LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Recvd "failed dependencies" libbfd/libopcodes 2.10.91.0.2.so (https://www.linuxquestions.org/questions/linux-newbie-8/recvd-failed-dependencies-libbfd-libopcodes-2-10-91-0-2-so-160641/)

javafantoo 03-21-2004 03:05 PM

Recvd "failed dependencies" libbfd/libopcodes 2.10.91.0.2.so
 
Good day. I am the newest of the newbies. AS part of my first ever Linux class, I volunteered to do a presentation on installing & using the linux kernel crash dump application for the RedHat 9 distribution of linux (kernel version 2.4.20-6). After a fair amount of searching, I determined that I needed to download and install the lkcd utilities (lkcdutils-4.1-1.i386.rpm as well as lkcdutils-qlcrash-4.1-1.i386.rpm). Fair amount of HOWTO's out there to do this so even a newbie like me can do this, right? Well yes, sort of.

Once I was able to download and attempt an install of the rpm binary on my laptop, I received the following error message:
"libbfd-2.10.91.0.2.so is needed by lkcdutils-4.1-1.i386.rpm" Also:
"libopcodes-2.10.91.0.2.so is needed by lkcdutils-4.1-1.i386.rpm"

So, what did I do, but locate the linuxquestions.org website, sign myself up and began researching some newbie threads. I found one with a similar issue, and the response was to go to ftp.csit.lkams.kernel.org/pub/linux/kernel/v2.4 and do a search on the above libraries. I did this, and I located a file that looked promisng: binutils-2.10.91.0.2-3.i386.rpm. I downloaded this file; when I attempted to install it, I received aseries of error messages that the files I'm attempting to install from the binutils-2.10.91.0.2-3.i386.rpm. conflict with a file from package binutils-2.13.90.0.18-9.

So, I'm confused. What went wrong? Did I locate the wrong file? Or, if binutils-2.13.90.0.18-9 is a more recent utility file, why did I receive my original error message about libbfd-2.10.91.0.2.so is needed by lkcdutils-4.1-1.i386.rpm?

Clearly, I'm in over my head, but any direction someone could provide me is much appreciated. I really do want to understand linux, but this is disheartening. :( Thanks much for your time and attention.

ilikejam 03-21-2004 03:26 PM

Hi.

Welcome to the wonderful world of dependency chasing.

You might want to visit www.rpmseek.com
You can put in the file that you need (in this case libbfd-2.10.91.0.2.so) click the "What provides" button, then click Go!
That should give you a list of RPMs which contain that file. Grab one that's for your (RH9) distrobution, and try installing it with the other RPMs you're trying to install.

If you get another failed dependency, then you'll have to go back to rpmseek to find the RPM that satisfies that dependency, and keep doing this until everything installs.

The binutils conflict may be harder (but it probably isn't). I imagine you're using rpm -ivh as the command to install. This will complain if you've already got an older version of the same package on your system (as you will do in this case). Try rpm -Uvh to upgrade, instead of installing. This command will install if the package isn't already installed too, so you can just do rpm -Uvh *.rpm in the folder you're downloading the RPMs to, and everything should install. Once the dependencies are satisfied.

Dave


All times are GMT -5. The time now is 07:14 PM.