LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do i use PKG-Config? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-use-pkg-config-80262/)

A1Ph4 08-08-2003 05:55 PM

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

grizzly 08-08-2003 09:06 PM

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.


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