LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-26-2003, 04:57 PM   #1
pablo131279
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.

Thanks!

Pablo
 
Old 10-26-2003, 05:17 PM   #2
bluephile
Member
 
Registered: Oct 2003
Posts: 45

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

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


Reply


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 10:45 AM
pkg-config help gexzd Linux - Newbie 14 05-03-2004 11:27 AM
How do i use PKG-Config? A1Ph4 Linux - Software 1 08-08-2003 10:06 PM
pkg-config TraCe66 Linux - Newbie 1 07-01-2003 03:56 PM
pkg-config Keebler Linux - Software 2 04-30-2003 03:10 PM


All times are GMT -5. The time now is 10:57 PM.

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