Sorry if I'm missing something but why can't you just use the packages that are part of the fedora core and update repos?
I don't have fedora 4 anymore but in 5 I have the following (if you are wanting to develop stuff make sure you have the -devel packages installed.)
#list installed packages with
rpm -qa | grep glib
As for your errors
error: Failed dependencies:
glibc < 2.4 conflicts with glibc-common-2.4-4.i386
gdb < 126.96.36.199-1.111 conflicts with glibc-2.4-4.i386
glibc > 2.3.5 conflicts with glibc-common-2.3.5-10.i386
this is saying you already have glibc-2.4-4 and glibc-common-2.4-4 installed.