2

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,

2 Answers 2

1
yum whatprovides '*/pkgconfig/gthread-2.0.pc'
3
  • How is this different from mine? Or you didn't notice it? Also, not all libraries have a .pc file.
    – tshepang
    Jan 23, 2011 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. Jan 23, 2011 at 16:44
  • You mind explaining that on the answer itself. What if the asker doesn't know what pkgconfig is.
    – tshepang
    Jan 23, 2011 at 17:01
1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .