Welcome to the most active Linux Forum on the web.
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 08-08-2003, 05:55 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
How do i use PKG-Config?

i've just reinstall Red Hat 9, then i try to install Gsat that needed Glib and it said that wasn't there (red hat 9 comes with Glib2.2.1, i think). and i need to know, how can i make pkg-config to search in the correct directory for Glib-2.0.pc??...thks
Old 08-08-2003, 09:06 PM   #2
Registered: Jun 2003
Distribution: Slackware 9.1, Solaris 9, and IPcop
Posts: 101

Rep: Reputation: 15
Somewhere on your system you should have a directory name pkg_config. I believe it is in /usr/lib. The pkg_config directory should have a bunch of *.pc files in it. You need to set your the environment variable PKG_CONFIG_PATH to this directory. Running a search on this site is bound to turn up many answers to this question, also. I am not at home, and don't have a linux box handy to verify the which directory pkg_config will be in, or the proper name of the environment variable, but hopefully this got the point across. I am sure in the install file it says something about it too.


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 sinXposed Linux - Software 12 10-30-2008 05:48 AM
pkg-config brimble2010 SUSE / openSUSE 3 05-19-2008 08:01 AM
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
pkg-config TraCe66 Linux - Newbie 1 07-01-2003 02:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 AM.

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