OK, I'm a Linux newb, and I've been trying to install some software that needed an Up-to-date version of GLib, since I was using an old version (whatever it was that came with Mandrake 9.0). I downloaded glib 2.2.3, and it compiled fine. The problem was that when I did ./configure on the software I was trying to install, it now gave an error saying there were two different versions on GLib, so it couldn't work.
I found information about this on the net, and it said to completely uninstall all versions of GLib, then install the newest one. I did this, and although Glib (seemingly) installs fine, software isn't finding it, leading to quite a few problems. Below is an example error while trying to compile software, but I'm getting problems trying to run software as well.
*** 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
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at (url removed).
I tried editing /etc/ld.so.conf, but I'm not sure if I put the right thing in. I also don't know how to edit the environment variable, so if that's all that needs doing, could someone point me in the right direction?