RPM Issues

Todd Zullinger tmz at pobox.com
Sun Apr 20 21:15:31 UTC 2008


Sam Varshavchik wrote:
> What ls tells you is completely and utterly irrelevant. If you did
> not 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.

Using rpm will only tell you if you've already got the package that
provides the dep installed.  That's often quite useless if you know
it's not installed and want to install whatever package provides it.

For that you could use:

# yum install 'libstdc++.so.5(CXXABI_1.2)'

To simply query, repoquery (from yum-utils) is handy:

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

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Going to hell when I die would just be redundant.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20080420/e188b5b1/attachment-0001.bin 


More information about the users mailing list