Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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,

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted
yum whatprovides '*/pkgconfig/gthread-2.0.pc'
share|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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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