Download your favorite Linux distribution at LQ ISO.
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 06-19-2004, 01:51 PM   #1
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Rep: Reputation: 30
Installing libraries/dependecies

Hi I've been trying to install AimWatch ( and I've gotten myself in a mess of dependencies...unfortunatly I've been running all the source install things from my home directory so I think (but i'm not sure) most of the dependencies installed themselves there except (I think ) the ones the readme said to use --prefix=/blah. Now I think things are having trouble finding eachother, when I run 'make' for AimWatch I get:

checking for glib-2.0 >= 2.4.0 atk >= 1.0.1 pango >= 1.4.0... Package glib-2.0 was
not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

configure: error: Library requirements (glib-2.0 >= 2.4.0 atk >= 1.0.1 pango >= 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Sorry if I'm not clear...if you need clarification please tell me.
Old 06-19-2004, 02:41 PM   #2
Registered: Mar 2004
Location: United Kingdom
Distribution: LFS
Posts: 74

Rep: Reputation: 15
PKGconfig is a tools used by automaked scripts to check that their dependancies are installed.

When glib is installed it creates a file called `glib-2.0.pc' in %PREFIX/lib/pkgconfig.

PKG_CONFIG_PATH is the environmental variable which points to these directories.

'echo $PKG_CONFIG_PATH' will probably read something like '/usr/X11R6/lib/pkgconfig', in which case the quickest solution is to find the offending .pc files, and symlink them into this directory.

$ find | grep "\.pc$"
should bring them all up if you have built them with prefix in your home directory.

Alternatively add the extra paths to your PKG_CONFIG_PATH variable.

Also make sure that you add all the %PREFIX/lib directories to your /etc/ and run ldconfig as root between packages.


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
Where to get dependecies? ElectroLinux Linux - Newbie 3 02-22-2005 06:00 PM
Handling all those dependecies Baix Linux - Newbie 4 06-19-2004 02:31 PM
What is the proper directory to install libraries/dependecies of Gnome/Anjuta? jdruin Linux - Software 0 12-05-2003 01:20 PM
I am trying to figure out dependecies newmandrakeuser Linux - Newbie 13 12-06-2002 12:00 AM
Installing Libraries promet Linux - Newbie 2 05-26-2002 05:20 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:30 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