Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-26-2003, 03:57 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
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.


Old 10-26-2003, 04:17 PM   #2
Registered: Oct 2003
Posts: 45

Rep: Reputation: 15
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pkg-config supersucker Linux - Software 3 09-07-2004 09:45 AM
pkg-config help gexzd Linux - Newbie 14 05-03-2004 10:27 AM
How do i use PKG-Config? A1Ph4 Linux - Software 1 08-08-2003 09:06 PM
pkg-config TraCe66 Linux - Newbie 1 07-01-2003 02:56 PM
pkg-config Keebler Linux - Software 2 04-30-2003 02:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration