RPM Issues
Panu Matilainen
pmatilai at laiskiainen.org
Wed Apr 23 08:46:39 UTC 2008
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 at 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 at mushroom Desktop]#
>>
>> [mlapier at mushroom lib]$ pwd
>> /usr/lib
>> [mlapier at mushroom lib]$ ls | grep GL
>> libGL.so
>> libGL.so.1
>> libGL.so.1.2
>> [mlapier at 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 -
More information about the fedora-list
mailing list