LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-19-2004, 01:51 PM   #1
Baix
Member
 
Registered: Jun 2004
Distribution: Gentoo, LFS, Slackware
Posts: 203

Rep: Reputation: 30
Installing libraries/dependecies


Hi I've been trying to install AimWatch (http://irixbox.com/) 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
jmorse
Member
 
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/ld.so.conf and run ldconfig as root between packages.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:00 AM.

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
Open Source Consulting | Domain Registration