Re: RPM Issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 20 Apr 2008, Sam Varshavchik wrote:

Mark LaPierre writes:

Hey Y'all,

I'm having a problem installing a package with rpm. rpm is telling me that I need some dependencies that I already have. Here's what I get:

[root@mushroom Desktop]# rpm -ivh graphiteone-*
error: Failed dependencies:
        libGLU.so.1 is needed by graphiteone-libs-1.3-1.i586
        libstdc++.so.5 is needed by graphiteone-libs-1.3-1.i586
        libstdc++.so.5(CXXABI_1.2) is needed by graphiteone-libs-1.3-1.i586
libstdc++.so.5(GLIBCPP_3.2) is needed by graphiteone-libs-1.3-1.i586 libstdc++.so.5(GLIBCPP_3.2.2) is needed by graphiteone-libs-1.3-1.i586
[root@mushroom Desktop]#

[mlapier@mushroom lib]$ pwd
/usr/lib
[mlapier@mushroom lib]$ ls | grep GL
libGL.so
libGL.so.1
libGL.so.1.2
[mlapier@mushroom lib]$ ls | grep libstdc

What ls tells you is completely and utterly irrelevant. If you did not

Also libGL != libGLU

install a library via RPM, then RPM doesn't know anything about it. The correct way to check a given dependency would be:

$ rpm -q --whatprovides 'libstdc++.so.5(CXXABI_1.2)'
no package provides libstdc++.so.5(CXXABI_1.2)

That's the answer you get on Fedora 8.

That's an answer you *might* get on Fedora 8 and only tells what we already know, no package providing libstdc++.so.5(CXXABI_1.2) is installed. A more useful answer:

$ repoquery --whatprovides 'libstdc++.so.5(CXXABI_1.2)'
compat-libstdc++-33-0:3.2.3-62.i386

Unlike rpm, repoquery knows what's available, not just installed.

The moral of the story really: use yum to install software - instead of "rpm -Uvh graphiteone-*" try "yum localinstall graphiteone-*", it'll work out the details for you if possible.

	- Panu -

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux