Fedora 14

I recently went to install some software using the source files.

When I ran the command

./configure 

I got a message saying that

No package gthread-2.0 not found

After searching the internet some one had the same problem. I needed to install a package called

glib2-devel

However, rather that searching the internet. Is there any yum command that can give me that information?

Many thanks for any advice,

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted
yum whatprovides '*/pkgconfig/gthread-2.0.pc'
link|improve this answer
How is this different from mine? Or you didn't notice it? Also, not all libraries have a .pc file. – Tshepang Jan 23 '11 at 10:37
@Tshepang: It will look for the exact pkgconfig file that the configure routine in the question is looking for, instead of trying to search by a virtual provides which may or may not match the name it is looking for. – Ignacio Vazquez-Abrams Jan 23 '11 at 16:44
You mind explaining that on the answer itself. What if the asker doesn't know what pkgconfig is. – Tshepang Jan 23 '11 at 17:01
feedback

Use yum whatprovides "*gthread-2.0*". (via)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.