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 09-20-2003, 11:24 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
GLIB error while installing giFTcurs

I'm trying to install client for giFT, I spend pretty much all day today but wasn't able to get it work.

While running ./configure I get below errors:
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: You need glib-2.0 to compile giFTcurs

I did install glib and for weird reason it installed in /usr/share/doc directory but it is there.

[root@localhost doc]# pwd
[root@localhost doc]# ls | grep "glib"

I looked at the configure source, and it seems like it fails while running pkg-config, so I tried running from command line

[root@localhost giFTcurs-0.6.1]# pkg-config --modversion glib-2.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

And yes I even tried setting environment varibale PKG_CONFIG_PATH to /usr/share/doc with no luck

I hope I have presented enough information to get it fixed. Really need your help guys.
Old 09-21-2003, 01:23 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
/usr/share/doc is really what it sounds like, a documentation directory. There shouldn't be any binaries in there. Instead, it looks like you might want to try to upgrade your pkg-config package instead. You can usually find decent documentation from your distro on upgrading things as major as glib and it's relatives (glib, gtk, pkg-config) or if not, and you want to from source, definitely read up from the page where you get the files from.

Old 09-21-2003, 01:23 AM   #3
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
install the development files of glib, most likely to be

or something like that, you get the picture right?
Old 09-27-2003, 12:18 PM   #4
Registered: Jul 2003
Location: Scotland
Posts: 34

Rep: Reputation: 16
I had the exact same problem which was driving me crazy

To fix it you should install the glib2-devel rpm
for your distro. Should be on the install cd's somewhere

I use redhat so the filename for the rpm was
glib2-devel-2.2.11.rpm( got from

so to install
$ su
(enter root password)
#rpm -iv glib2-devel-2.2.11.rpm

after this run ./configure again and it should work

hope this helps you



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
giFTcurs-0.5.7 Error - Missing giftlib Jose Muņiz Linux - Software 7 04-02-2005 04:35 PM
Installing XMMS Error with glib Egan Linux - Software 4 12-21-2004 10:31 AM
GLIB error while installing an application abdullahgee Linux - Software 1 06-04-2004 05:10 AM
giFTcurs cant find right version of glib Sephiroth Linux - Software 5 02-11-2004 08:48 PM
giFTcurs requires gLib.. do I have it? whoistom Linux - Software 20 09-17-2003 04:16 PM > Forums > Linux Forums > Linux - Software

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration