GLIB not found when trying to install packages
I've looked online here and found a bunch of suggestions, but none have worked.
WHen tryin to intall ATK or GTK or gAIM, all require GLIB. I installed GLIB 2.2.3, but all the other programs can't find it: checking for GLIB - version >= 2.0.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.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. GLIB installed its files to /usr/local/lib. Maybe it was installed before, but I didn't say it was when I ran these installers initially. How do I check and uninstall them andwhat is the best way to fix this? |
either install rpms of what you want or if you like source, find out where Red Hat installs GLIB. It might be in /usr . Then recompile glib using ./configure --prefix=<whereever its installed> instead of just ./configure. then just run make and make install normally. then try to do everything else.
If you haven't allready, put PATH="$PATH:." in your .bashrc script so you can type "configure" instead of "./configure". |
I posted something similar a few weeks ago under a post titled "Comiling from source - GLib error!" Likewise, I typically have experienced this problem when installing gAIM from source.
I found a couple of other relevant posts and copy-and-pasted some of the content to a text document for offline reference. I will try some of the things suggested by the various posters. One person describes this as " . . . this is a messy can of worms", but it does not seem to be an insurmountable problem. Hopefully, I can report back with positive results :) C-monkey |
I've been bashing my head against the same problem, here's what I've found:
1.) You must install the development RPM for GLIB. They're separate. (Should be on CD) 2.) You will also need to have the startup-notification-1.0 library installed. (Should be on CD) 3.) You will also need the libxml-2.0 library installed. (Should be on CD) 4.) You will also need the mozilla-nss library installed, you can get this at mozilla.org, do a search for "mozilla nss" As I type I'm waiting for various updates to complete and then I get to try again! I'll report if successful. |
I didn't notice this was an old thread upon initial inspection; I'll post my successful result so that future googlers can spend less time than I did researching the problem.
In my post earlier, I mentioned the development GLIB library, startup-notification, libxml, and mozilla-nss (current version 3.9) which is dependent on another mozilla library, nspr, current version 4.41. If you have all these libraries correctly installed, Gaim should compile and install correctly. |
All times are GMT -5. The time now is 03:14 PM. |