 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
abadfish
Joined: 05 Aug 2007 Posts: 2
|
Posted: Sun Aug 05, 2007 2:17 am Post subject: GTK installation problem |
|
|
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
|
Posted: Sun Aug 05, 2007 2:47 am Post subject: |
|
|
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 |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|