How to find missing libraries when compiling apps

Michael Schwendt fedora at wir-sind-cool.org
Tue Sep 28 11:08:13 UTC 2004


On Tue, 28 Sep 2004 16:36:45 +1000, CB wrote:

> How do you go about discovering what rpm to install to add a required
> library when trying to compile an application?
> 
> Current example: I want to try out Tomboy
> ( http://beatniksoftware.com/tomboy ). ./configure gives me the
> following error: 
> 
> 	No package 'gdk-2.0' found
> 
> I've tried doing a 'yum search' and have tried rather randomly
> installing a couple of rpm's with the string 'gdk' in them, but that
> seems a pretty dumb approach. Is there a better one, or do you just have
> to read and comprehend the code to know what to install?

The latter, unfortunately. Experience is the key here. 'gdk-2.0' refers
to a pkgconfig template file:

  $ rpm --redhatprovides /usr/lib/pkgconfig/gdk-2.0.pc
  gtk2-devel-2.4.0-1

-- 
Fedora Core release 2 (Tettnang) - Linux 2.6.7-1.494.2.2
loadavg: 2.10 1.84 1.58




More information about the fedora-list mailing list