On Fri, Feb 01, 2008 at 10:16:47AM -0800, nate enlightened us:
Matt Hyclak wrote:
Is 'yum provides foo' not good enough?
Not really, no. Say your building a package like the OP was, and you figure out you need the library libkabc_dir.so.1, now if your really into the development side of things you may be able to take a stab at what that library may be included with, for me, I have no idea. Some things are obvious, the above is not. Searching for this file on packages.debian.org tells me it's in the package kdelibs4c2a.
The name has a k in it, but to me it doesn't really give a solid indicator that it might be from kde, in this case it happens to be though.
Perhaps you need to re-read the yum man page and see what the provides command does....
[hyclak@euclid ~]$ yum provides libkabc_dir.so.1 Loading "priorities" plugin Searching Packages: Setting up repositories Reading repository metadata in from local files
kdelibs.i386 6:3.3.1-9.el4 base Matched from: libkabc_dir.so.1
Matt