Whatever distro that is that you're using has glib2-2.4.7 installed already. If you want to upgrade the glib2 package try:
rpm -Uvh glib2-2.6.4-1.i386.rpm
but I really wouldn't recommend it unless you have a good reason. What are you're trying to install that you need glib2 to be upgraded?