Click to See Complete Forum and Search --> : GTK+ Install Problem


Mikenell
12-07-2000, 04:37 PM
I'm trying to install GTK+, I compiled the glib files successfully but when I go to compile the gtk+ ones I get this message:

checking for GLIB - version >= 1.2.8... 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
***
*** If you have a RedHat 5.0 system, you should remove the GTK package that
*** came with the system with the command
***
*** rpm --erase --nodeps gtk gtk-devel
configure: error:
*** GLIB 1.2.8 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.
root@darkstar:/usr/src/tars/g/gtk+#

I tried looking in the glib README and INSTALL files but they say nothing about an environment variable. What do I need to add?
Thanks
Mikenell

Mikenell
12-07-2000, 04:42 PM
Nevermind, running ldconfig did it.
Mikenell

mdwatts
12-08-2000, 10:15 AM
I've noticed over the past few months that you answer a lot of your own questions. Instead of wasting your time posting the original question, why not take a extra few minutes, solve your problem and then write some NHF's for all to use.

Just a thought.

Mikenell
12-08-2000, 03:40 PM
Hahaha yeah I noticed that too, could it be that I'm actually starting to understand linux?