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. Thanks! Pablo |
How did you define the variable? You should do something like this:
Code:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/ Code:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig |
All times are GMT -5. The time now is 08:04 AM. |