GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GTK installation problem

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion
Author Message
abadfish



Joined: 05 Aug 2007
Posts: 2

PostPosted: Sun Aug 05, 2007 2:17 am    Post subject: GTK installation problem Reply with quote

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!!!
Back to top
abadfish



Joined: 05 Aug 2007
Posts: 2

PostPosted: Sun Aug 05, 2007 2:47 am    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP