GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Dec 20, 2014 2:58 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GTK installation problem
PostPosted: Sun Aug 05, 2007 2:17 am 
Offline

Joined: Sun Aug 05, 2007 2:10 am
Posts: 2
Hi all,

I'm a newb to linux so please bear with me...

I'm trying to install GTK+ 2.10.14 on my linux (Ubuntu 7.04) machine.

When I run ./configure, I get the following error message:

Quote:
checking for GLIB - version >= 2.12.0... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error:
*** GLIB 2.12.0 or better is required. The latest version of
*** GLIB is always available from <link removed because I don't have enough posts>


I installed glib 2.13.7. I believe it installed correctly (no error messages came up) with the default prefix (/usr/local). I did run ldconfig. To my knowledge I do not have a previous version of glib installed (how can I verify this??).

So what do I need to do to get this to install????

Thanks for any help!!!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 05, 2007 2:47 am 
Offline

Joined: Sun Aug 05, 2007 2:10 am
Posts: 2
okay, after searching several forums, I found that I needed to add the following to my env:

export LD_LIBRARY_PATH=/usr/local/lib

now it compiles fine.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group