-   Linux - Software (
-   -   Question about pkg-config (

pablo131279 10-26-2003 03:57 PM

Question about pkg-config
Hi everybody, I am using Red Hat 8.0, and I have updated pkg-config from version 0.12.0 to 0.15.0 and since that I canṫ compile GTK+ programs.

When I type

pkg-config --cflags --libs gtk+-2.0

it tells me

Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

I have defined de variable with the directory /usr/lib/pkgconfig/ and still gives me that error. And I have also checked that the file gtk+-2.0.pc was in that directory.



bluephile 10-26-2003 04:17 PM

How did you define the variable? You should do something like this:


export PKG_CONFIG_PATH=/usr/lib/pkgconfig/
or, like mine:

export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig

All times are GMT -5. The time now is 09:34 AM.